Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005552/0.005552, allocations: 98.45 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 195.8 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.145/1.145, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.242/1.242, allocations: 251.7 MB / 0.5094 GB, free: 424 kB / 430.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 71.91 kB / 0.7258 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4745/0.4758, allocations: 104.7 MB / 0.828 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002125/0.4779, allocations: 1.426 MB / 0.8294 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0005386/0.4785, allocations: 250.2 kB / 0.8297 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.929e-05/0.4785, allocations: 3.938 kB / 0.8297 GB, free: 0.8789 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 3.125e-05/0.4786, allocations: 3.938 kB / 0.8297 GB, free: 0.875 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 4.297e-05/0.4786, allocations: 0 / 0.8297 GB, free: 0.875 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.479, allocations: 59.83 kB / 0.8297 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 6.377e-05/0.4791, allocations: 23.92 kB / 0.8298 GB, free: 0.793 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 9.593e-05/0.4792, allocations: 11.98 kB / 0.8298 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.209e-05/0.4792, allocations: 4 kB / 0.8298 GB, free: 0.7773 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 4.023e-05/0.4793, allocations: 11.92 kB / 0.8298 GB, free: 0.7656 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.4793, allocations: 4 kB / 0.8298 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.4794, allocations: 59.88 kB / 0.8298 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.4794, allocations: 8 kB / 0.8299 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.138e-05/0.4795, allocations: 3.938 kB / 0.8299 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.4796, allocations: 55.86 kB / 0.8299 GB, free: 0.6367 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4796, allocations: 0 / 0.8299 GB, free: 0.6367 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.083e-06/0.4796, allocations: 0 / 0.8299 GB, free: 0.6367 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.4796, allocations: 4 kB / 0.8299 GB, free: 0.6328 MB / 0.6231 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.0004693/0.4801, allocations: 343.1 kB / 0.8302 GB, free: 256 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.4801, allocations: 12.03 kB / 0.8303 GB, free: 244 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.4802, allocations: 4.844 kB / 0.8303 GB, free: 240 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.4803, allocations: 160.4 kB / 0.8304 GB, free: 40 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.4803, allocations: 4.375 kB / 0.8304 GB, free: 36 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-06/0.4803, allocations: 384 / 0.8304 GB, free: 36 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.4805, allocations: 58.17 kB / 0.8305 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.4805, allocations: 192 / 0.8305 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.4805, allocations: 7.922 kB / 0.8305 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.4806, allocations: 0 / 0.8305 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.4807, allocations: 35.95 kB / 0.8305 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003104/0.481, allocations: 241 kB / 0.8307 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.4812, allocations: 42.5 kB / 0.8308 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.307e-05/0.4813, allocations: 24.89 kB / 0.8308 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000672/0.482, allocations: 457.4 kB / 0.8312 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.482, allocations: 34.56 kB / 0.8313 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.482, allocations: 0 / 0.8313 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0003235/0.4823, allocations: 77.64 kB / 0.8313 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.4824, allocations: 51.41 kB / 0.8314 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.21e-05/0.4824, allocations: 101.8 kB / 0.8315 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.4824, allocations: 25.7 kB / 0.8315 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.4825, allocations: 100.2 kB / 0.8316 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.4825, allocations: 2.25 kB / 0.8316 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/0.4825, allocations: 17.66 kB / 0.8316 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.604e-05/0.4826, allocations: 314.8 kB / 0.8319 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.922e-05/0.4827, allocations: 19.92 kB / 0.832 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.563e-05/0.4828, allocations: 15.92 kB / 0.832 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.4829, allocations: 44.89 kB / 0.832 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.4829, allocations: 0 / 0.832 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001782/0.4831, allocations: 73.5 kB / 0.8321 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.4831, allocations: 4 kB / 0.8321 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.4832, allocations: 0 / 0.8321 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.4832, allocations: 0 / 0.8321 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.68e-05/0.4833, allocations: 16.02 kB / 0.8321 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.4833, allocations: 0 / 0.8321 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.854e-05/0.4833, allocations: 7.984 kB / 0.8321 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.4833, allocations: 3.938 kB / 0.8321 GB, free: 14.07 MB / 0.6387 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 5.713e-05/0.4834, allocations: 113.8 kB / 0.8322 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.4834, allocations: 0 / 0.8322 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.4836, allocations: 80.73 kB / 0.8323 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.4836, allocations: 0 / 0.8323 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.4836, allocations: 4 kB / 0.8323 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.4836, allocations: 0 / 0.8323 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.4838, allocations: 161.6 kB / 0.8325 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.4838, allocations: 0 / 0.8325 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-05/0.4838, allocations: 7.984 kB / 0.8325 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.4839, allocations: 0 / 0.8325 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.4839, allocations: 4 kB / 0.8325 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.4839, allocations: 0 / 0.8325 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4839, allocations: 0 / 0.8325 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.4841, allocations: 171.4 kB / 0.8326 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.024e-05/0.4841, allocations: 81.02 kB / 0.8327 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.188e-06/0.4841, allocations: 0 / 0.8327 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.908e-05/0.4842, allocations: 7.984 kB / 0.8327 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.614e-05/0.4842, allocations: 0 / 0.8327 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.4842, allocations: 8.031 kB / 0.8327 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 2.867e-05/0.4843, allocations: 79.28 kB / 0.8328 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4843, allocations: 0 / 0.8328 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002187/0.4845, allocations: 20 kB / 0.8328 GB, free: 13.25 MB / 0.6387 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.0001593/0.4847, allocations: 116.6 kB / 0.8329 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001901/0.4849, allocations: 43.89 kB / 0.833 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4849, allocations: 0 / 0.833 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 7.697e-05/0.485, allocations: 19.98 kB / 0.833 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.4852, allocations: 7.938 kB / 0.833 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002094/0.4854, allocations: 105.6 kB / 0.8331 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001893/0.4856, allocations: 0.6846 MB / 0.8338 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 1.856e-05/0.4856, allocations: 7.938 kB / 0.8338 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.55e-05/0.4856, allocations: 7.438 kB / 0.8338 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of SimCode: time 2.21e-07/0.4856, allocations: 0 / 0.8338 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of Templates: time 0.002382/0.488, allocations: 0.6593 MB / 0.8344 GB, free: 11.54 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)