Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 217.9 kB / 22.25 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002607/0.002607, allocations: 296.2 kB / 312.7 MB, free: 2.777 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.254/1.254, allocations: 180.6 MB / 0.5369 GB, free: 13 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002885/0.002885, allocations: 104.2 kB / 0.7396 GB, free: 27.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2118, allocations: 95.39 MB / 0.8327 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.003227/0.215, allocations: 1.46 MB / 0.8342 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006213/0.2157, allocations: 248.1 kB / 0.8344 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.918e-05/0.2157, allocations: 4 kB / 0.8344 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.361e-05/0.2157, allocations: 3.938 kB / 0.8344 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.752e-05/0.2158, allocations: 0 / 0.8344 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004124/0.2162, allocations: 59.81 kB / 0.8345 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.631e-05/0.2163, allocations: 27.92 kB / 0.8345 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.295e-05/0.2164, allocations: 0 / 0.8345 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.847e-05/0.2164, allocations: 11.94 kB / 0.8345 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.571e-05/0.2165, allocations: 11.92 kB / 0.8345 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.2165, allocations: 0 / 0.8345 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001659/0.2166, allocations: 71.86 kB / 0.8346 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.2166, allocations: 7.938 kB / 0.8346 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.2167, allocations: 11.94 kB / 0.8346 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.2168, allocations: 48.14 kB / 0.8346 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2168, allocations: 0 / 0.8346 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.014e-06/0.2168, allocations: 0 / 0.8346 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.2168, allocations: 0 / 0.8346 GB, free: 6.645 MB / 0.5762 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.0005067/0.2174, allocations: 270.2 kB / 0.8349 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.2174, allocations: 13.34 kB / 0.8349 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.135e-05/0.2174, allocations: 34.75 kB / 0.835 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.682e-05/0.2175, allocations: 8.828 kB / 0.835 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.2176, allocations: 110.5 kB / 0.8351 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.133e-06/0.2176, allocations: 4.312 kB / 0.8351 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.2176, allocations: 4.359 kB / 0.8351 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.2178, allocations: 50.23 kB / 0.8351 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2178, allocations: 3.938 kB / 0.8351 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-06/0.2178, allocations: 0 / 0.8351 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2178, allocations: 0 / 0.8351 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.218, allocations: 39.95 kB / 0.8352 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.2183, allocations: 216 kB / 0.8354 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.2185, allocations: 40.17 kB / 0.8354 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.467e-05/0.2186, allocations: 32.89 kB / 0.8354 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005434/0.2191, allocations: 67.92 kB / 0.8355 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.2191, allocations: 30.56 kB / 0.8355 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.2191, allocations: 0 / 0.8355 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003745/0.2195, allocations: 89.58 kB / 0.8356 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.2196, allocations: 51.41 kB / 0.8357 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.2197, allocations: 101.8 kB / 0.8358 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.2197, allocations: 25.7 kB / 0.8358 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.655e-05/0.2198, allocations: 88.09 kB / 0.8359 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.2198, allocations: 7.953 kB / 0.8359 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.2199, allocations: 9.844 kB / 0.8359 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002145/0.2201, allocations: 318.8 kB / 0.8362 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.169e-05/0.2202, allocations: 19.97 kB / 0.8362 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.131e-05/0.2203, allocations: 11.98 kB / 0.8362 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.2204, allocations: 36.83 kB / 0.8363 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2204, allocations: 8 kB / 0.8363 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002092/0.2206, allocations: 73.59 kB / 0.8363 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.2207, allocations: 4 kB / 0.8363 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2207, allocations: 0 / 0.8363 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/0.2207, allocations: 3.938 kB / 0.8363 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.987e-05/0.2208, allocations: 11.98 kB / 0.8364 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.2208, allocations: 0 / 0.8364 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.893e-05/0.2208, allocations: 8 kB / 0.8364 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.2208, allocations: 4.031 kB / 0.8364 GB, free: 4.688 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.221, allocations: 114.4 kB / 0.8365 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.221, allocations: 4 kB / 0.8365 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002658/0.2212, allocations: 72.91 kB / 0.8365 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2213, allocations: 3.938 kB / 0.8366 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.2213, allocations: 0 / 0.8366 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.2213, allocations: 0 / 0.8366 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.2215, allocations: 136.7 kB / 0.8367 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2215, allocations: 3.984 kB / 0.8367 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.191e-05/0.2215, allocations: 4 kB / 0.8367 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.2215, allocations: 0 / 0.8367 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.2215, allocations: 4 kB / 0.8367 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2215, allocations: 0 / 0.8367 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2215, allocations: 0 / 0.8367 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003139/0.2219, allocations: 171.4 kB / 0.8369 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.006e-06/0.2219, allocations: 0 / 0.8369 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.2219, allocations: 3.984 kB / 0.8369 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.838e-05/0.222, allocations: 4 kB / 0.8369 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/0.222, allocations: 8.109 kB / 0.8369 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-06/0.222, allocations: 4 kB / 0.8369 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.686e-05/0.2221, allocations: 83.27 kB / 0.837 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2221, allocations: 0 / 0.837 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002464/0.2223, allocations: 23.97 kB / 0.837 GB, free: 3.98 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007668/0.2231, allocations: 0.7124 MB / 0.8377 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002422/0.2233, allocations: 35.97 kB / 0.8377 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.2233, allocations: 3.938 kB / 0.8377 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.95e-05/0.2234, allocations: 19.97 kB / 0.8377 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.2237, allocations: 4 kB / 0.8377 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005524/0.2242, allocations: 143.3 kB / 0.8379 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.2246, allocations: 0.6768 MB / 0.8385 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.606e-05/0.2246, allocations: 3.984 kB / 0.8385 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.859e-05/0.2247, allocations: 15.44 kB / 0.8386 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.2247, allocations: 0 / 0.8386 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03172/0.2564, allocations: 1.635 MB / 0.8401 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.91, allocations: 10.69 kB / 0.8402 GB, free: 0.7695 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.241689638001844] Failed to read output from testmodel.py, exit status != 0: 11.01144971488975 11.041917775 10.81927733 Calling exit ...