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.000931/0.0009311, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.000952/0.0009521, allocations: 193.9 kB / 16.14 MB, free: 6.652 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.192/1.192, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.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.325/1.325, allocations: 251.6 MB / 0.5088 GB, free: 3.309 MB / 414.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.001299/0.001299, allocations: 71.91 kB / 0.6216 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3703, allocations: 104.7 MB / 0.7238 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002348/0.3726, allocations: 1.495 MB / 0.7253 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004644/0.3731, allocations: 252.1 kB / 0.7255 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.227e-05/0.3732, allocations: 0 / 0.7255 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.799e-05/0.3732, allocations: 0 / 0.7255 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.101e-05/0.3733, allocations: 0 / 0.7255 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.3735, allocations: 43.91 kB / 0.7255 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.856e-05/0.3736, allocations: 27.86 kB / 0.7256 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.947e-05/0.3737, allocations: 4 kB / 0.7256 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.206e-05/0.3737, allocations: 15.97 kB / 0.7256 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.183e-05/0.3737, allocations: 11.94 kB / 0.7256 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.176e-06/0.3737, allocations: 0 / 0.7256 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.3739, allocations: 63.88 kB / 0.7257 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.929e-06/0.3739, allocations: 4 kB / 0.7257 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.069e-05/0.3739, allocations: 7.922 kB / 0.7257 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.374, allocations: 51.92 kB / 0.7257 GB, free: 11.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3741, allocations: 4 kB / 0.7257 GB, free: 11.25 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3741, allocations: 0 / 0.7257 GB, free: 11.25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.3741, allocations: 3.938 kB / 0.7257 GB, free: 11.24 MB / 0.545 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.0003655/0.3744, allocations: 345.5 kB / 0.7261 GB, free: 10.86 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.3745, allocations: 11.97 kB / 0.7261 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.731e-05/0.3745, allocations: 0.9375 kB / 0.7261 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.491e-05/0.3746, allocations: 176.2 kB / 0.7262 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.3746, allocations: 384 / 0.7262 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-06/0.3746, allocations: 384 / 0.7262 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.3748, allocations: 46.25 kB / 0.7263 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.3748, allocations: 4.172 kB / 0.7263 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.3748, allocations: 7.938 kB / 0.7263 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3748, allocations: 3.984 kB / 0.7263 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.375, allocations: 31.97 kB / 0.7263 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002522/0.3752, allocations: 252.9 kB / 0.7266 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.3754, allocations: 42.5 kB / 0.7266 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.82e-05/0.3754, allocations: 24.91 kB / 0.7266 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005495/0.376, allocations: 449.5 kB / 0.7271 GB, free: 9.629 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.376, allocations: 38.56 kB / 0.7271 GB, free: 9.582 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.376, allocations: 7.938 kB / 0.7271 GB, free: 9.574 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003037/0.3763, allocations: 77.58 kB / 0.7272 GB, free: 9.492 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/0.3764, allocations: 51.41 kB / 0.7272 GB, free: 9.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.519e-05/0.3764, allocations: 101.9 kB / 0.7273 GB, free: 9.32 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.3765, allocations: 25.7 kB / 0.7274 GB, free: 9.289 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.29e-05/0.3765, allocations: 88.25 kB / 0.7274 GB, free: 9.199 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.3765, allocations: 7.906 kB / 0.7274 GB, free: 9.191 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.3765, allocations: 13.72 kB / 0.7275 GB, free: 9.172 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.538e-05/0.3766, allocations: 310.8 kB / 0.7278 GB, free: 8.859 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.58e-05/0.3767, allocations: 15.98 kB / 0.7278 GB, free: 8.844 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.5e-05/0.3768, allocations: 19.97 kB / 0.7278 GB, free: 8.824 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.3769, allocations: 36.89 kB / 0.7278 GB, free: 8.785 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3769, allocations: 4 kB / 0.7278 GB, free: 8.781 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001797/0.3771, allocations: 77.44 kB / 0.7279 GB, free: 8.699 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.3771, allocations: 5.875 kB / 0.7279 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.3771, allocations: 4 kB / 0.7279 GB, free: 8.691 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.265e-06/0.3771, allocations: 0 / 0.7279 GB, free: 8.691 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.187e-05/0.3772, allocations: 8.016 kB / 0.7279 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.3772, allocations: 4 kB / 0.7279 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.228e-05/0.3773, allocations: 4 kB / 0.7279 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.3773, allocations: 0 / 0.7279 GB, free: 8.676 MB / 0.545 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.321e-05/0.3773, allocations: 117.7 kB / 0.728 GB, free: 8.551 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.3774, allocations: 3.984 kB / 0.728 GB, free: 8.547 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002012/0.3776, allocations: 76.72 kB / 0.7281 GB, free: 8.469 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3776, allocations: 4.031 kB / 0.7281 GB, free: 8.465 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3776, allocations: 0 / 0.7281 GB, free: 8.465 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3776, allocations: 0 / 0.7281 GB, free: 8.465 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.3777, allocations: 161.6 kB / 0.7283 GB, free: 8.258 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3777, allocations: 0 / 0.7283 GB, free: 8.258 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.312e-05/0.3778, allocations: 11.98 kB / 0.7283 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.3778, allocations: 4 kB / 0.7283 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.3778, allocations: 0 / 0.7283 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3778, allocations: 0 / 0.7283 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3778, allocations: 0 / 0.7283 GB, free: 8.242 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.378, allocations: 167.5 kB / 0.7285 GB, free: 8.062 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.606e-05/0.3781, allocations: 77.11 kB / 0.7285 GB, free: 7.969 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.3781, allocations: 7.922 kB / 0.7285 GB, free: 7.961 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.679e-05/0.3782, allocations: 4 kB / 0.7285 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.3782, allocations: 4 kB / 0.7285 GB, free: 7.953 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.3782, allocations: 8.016 kB / 0.7285 GB, free: 7.945 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.872e-05/0.3782, allocations: 79.28 kB / 0.7286 GB, free: 7.867 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3782, allocations: 0 / 0.7286 GB, free: 7.867 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002155/0.3785, allocations: 23.94 kB / 0.7286 GB, free: 7.844 MB / 0.545 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.0001576/0.3786, allocations: 111.2 kB / 0.7288 GB, free: 7.723 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001782/0.3788, allocations: 39.97 kB / 0.7288 GB, free: 7.684 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.3788, allocations: 0 / 0.7288 GB, free: 7.684 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.677e-05/0.3789, allocations: 19.97 kB / 0.7288 GB, free: 7.664 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.3791, allocations: 11.22 kB / 0.7288 GB, free: 7.656 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002051/0.3793, allocations: 115.2 kB / 0.7289 GB, free: 7.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001651/0.3795, allocations: 0.677 MB / 0.7296 GB, free: 6.816 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.833e-05/0.3795, allocations: 0 / 0.7296 GB, free: 6.816 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.553e-05/0.3795, allocations: 7.438 kB / 0.7296 GB, free: 6.809 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.3795, allocations: 0 / 0.7296 GB, free: 6.809 MB / 0.545 GB Notification: Performance of Templates: time 0.002141/0.3817, allocations: 0.5862 MB / 0.7302 GB, free: 6.223 MB / 0.545 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)