Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.89/2.89, allocations: 287.3 MB / 302.3 MB, free: 8.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001579/0.001579, allocations: 193.8 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001213/0.001213, allocations: 94.91 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005457/0.0005456, allocations: 11.19 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2427, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001744/0.2445, allocations: 1.148 MB / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005503/0.2451, allocations: 236.3 kB / 0.9796 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.051e-05/0.2451, allocations: 0 / 0.9796 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.926e-05/0.2452, allocations: 0 / 0.9796 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.305e-05/0.2452, allocations: 4 kB / 0.9796 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.2456, allocations: 51.81 kB / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.611e-05/0.2456, allocations: 8 kB / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.802e-05/0.2457, allocations: 7.984 kB / 0.9797 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.117e-05/0.2458, allocations: 15.92 kB / 0.9797 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.624e-05/0.2458, allocations: 3.984 kB / 0.9797 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.2459, allocations: 4 kB / 0.9797 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.246, allocations: 59.89 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.708e-06/0.2461, allocations: 3.984 kB / 0.9798 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.21e-05/0.2461, allocations: 29.7 kB / 0.9798 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.2462, allocations: 39.94 kB / 0.9798 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.2462, allocations: 0 / 0.9798 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.724e-06/0.2462, allocations: 0 / 0.9798 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.2462, allocations: 4 kB / 0.9798 GB, free: 26.64 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004535/0.2467, allocations: 339.5 kB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.2468, allocations: 16.02 kB / 0.9802 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.485e-05/0.2468, allocations: 30.56 kB / 0.9802 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.532e-05/0.2468, allocations: 4 kB / 0.9802 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.247, allocations: 171 kB / 0.9804 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.247, allocations: 8 kB / 0.9804 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.247, allocations: 0 / 0.9804 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.2472, allocations: 53.67 kB / 0.9804 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.2473, allocations: 3.938 kB / 0.9804 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.2473, allocations: 0 / 0.9804 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.2473, allocations: 0 / 0.9804 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002995/0.2476, allocations: 43.97 kB / 0.9805 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003342/0.2479, allocations: 248.9 kB / 0.9807 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.2481, allocations: 50.5 kB / 0.9808 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008578/0.249, allocations: 457.5 kB / 0.9812 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.2491, allocations: 42.56 kB / 0.9813 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.184e-06/0.2491, allocations: 0 / 0.9813 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0005431/0.2496, allocations: 97.64 kB / 0.9813 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.2497, allocations: 55.34 kB / 0.9814 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.8e-05/0.2498, allocations: 101.8 kB / 0.9815 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.2498, allocations: 25.7 kB / 0.9815 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.37e-05/0.2498, allocations: 84.14 kB / 0.9816 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.2499, allocations: 12.84 kB / 0.9816 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.2499, allocations: 0 / 0.9816 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.945e-05/0.2499, allocations: 314.8 kB / 0.9819 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.2501, allocations: 24.02 kB / 0.9819 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.2502, allocations: 23.97 kB / 0.982 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.2504, allocations: 28.05 kB / 0.982 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2504, allocations: 0 / 0.982 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003114/0.2507, allocations: 73.66 kB / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.2507, allocations: 6.031 kB / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2508, allocations: 0 / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.2508, allocations: 4.031 kB / 0.9821 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.2509, allocations: 12 kB / 0.9821 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.2509, allocations: 7.922 kB / 0.9821 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.744e-05/0.251, allocations: 4 kB / 0.9821 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.2511, allocations: 0 / 0.9821 GB, free: 24.04 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.548e-05/0.2511, allocations: 117.7 kB / 0.9822 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.2512, allocations: 0 / 0.9822 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003599/0.2515, allocations: 92.77 kB / 0.9823 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.2516, allocations: 0 / 0.9823 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2516, allocations: 192 / 0.9823 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2516, allocations: 0 / 0.9823 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.2517, allocations: 161.6 kB / 0.9824 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2518, allocations: 11.97 kB / 0.9825 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.437e-05/0.2519, allocations: 11.98 kB / 0.9825 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.2519, allocations: 0 / 0.9825 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.2519, allocations: 0 / 0.9825 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.2519, allocations: 3.984 kB / 0.9825 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2519, allocations: 3.938 kB / 0.9825 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/0.2523, allocations: 179.4 kB / 0.9826 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.471e-05/0.2523, allocations: 81.11 kB / 0.9827 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.2523, allocations: 0 / 0.9827 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.2525, allocations: 7.984 kB / 0.9827 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.2525, allocations: 8.031 kB / 0.9827 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.2525, allocations: 0 / 0.9827 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.563e-05/0.2526, allocations: 87.27 kB / 0.9828 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2526, allocations: 0 / 0.9828 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003437/0.2529, allocations: 12 kB / 0.9828 GB, free: 23.18 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007026/0.2537, allocations: 0.7319 MB / 0.9835 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003242/0.254, allocations: 44 kB / 0.9836 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.254, allocations: 0 / 0.9836 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.2542, allocations: 23.92 kB / 0.9836 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.2544, allocations: 12.12 kB / 0.9836 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000478/0.2549, allocations: 142.3 kB / 0.9838 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.2551, allocations: 0.6809 MB / 0.9844 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.18e-05/0.2551, allocations: 0 / 0.9844 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.2552, allocations: 7.438 kB / 0.9844 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of SimCode: time 6.71e-07/0.2552, allocations: 3.938 kB / 0.9844 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/0.2761, allocations: 1.239 MB / 0.9856 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002447/0.2764, allocations: 172.9 kB / 0.9858 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.378/2.654, allocations: 1.375 kB / 0.9858 GB, free: 20.08 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1)