Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselJ1.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.00961/0.00961, allocations: 173.7 kB / 16.27 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.943/2.943, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003924/0.0003924, allocations: 9.594 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3474, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001709/0.3492, allocations: 1.158 MB / 1.075 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005824/0.3498, allocations: 259.3 kB / 1.076 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.322e-05/0.3498, allocations: 0 / 1.076 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.043e-05/0.3499, allocations: 4 kB / 1.076 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.322e-05/0.3499, allocations: 3.938 kB / 1.076 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.3503, allocations: 55.81 kB / 1.076 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.572e-05/0.3503, allocations: 19.92 kB / 1.076 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.647e-05/0.3504, allocations: 8 kB / 1.076 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.146e-05/0.3505, allocations: 7.984 kB / 1.076 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.824e-05/0.3505, allocations: 7.938 kB / 1.076 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.297e-06/0.3505, allocations: 0 / 1.076 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.3507, allocations: 71.86 kB / 1.076 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.24e-05/0.3507, allocations: 8 kB / 1.076 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/0.3508, allocations: 33.62 kB / 1.076 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.3509, allocations: 51.86 kB / 1.076 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3509, allocations: 0 / 1.076 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3509, allocations: 0 / 1.076 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.952e-06/0.3509, allocations: 4 kB / 1.076 GB, free: 5.832 MB / 0.8262 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.0004429/0.3514, allocations: 339.8 kB / 1.076 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3514, allocations: 16.03 kB / 1.076 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/0.3515, allocations: 4.844 kB / 1.076 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.3516, allocations: 164.4 kB / 1.076 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.3516, allocations: 384 / 1.076 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.3516, allocations: 8.312 kB / 1.076 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.3518, allocations: 54.23 kB / 1.076 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.3518, allocations: 192 / 1.076 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.3518, allocations: 7.938 kB / 1.076 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3519, allocations: 0 / 1.076 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.352, allocations: 39.97 kB / 1.076 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.3524, allocations: 253 kB / 1.077 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.3525, allocations: 50.44 kB / 1.077 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.493e-05/0.3526, allocations: 24.91 kB / 1.077 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006921/0.3533, allocations: 469.4 kB / 1.077 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.3534, allocations: 30.56 kB / 1.077 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3534, allocations: 0 / 1.077 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003824/0.3538, allocations: 97.64 kB / 1.077 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.3538, allocations: 55.34 kB / 1.077 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.821e-05/0.3539, allocations: 101.8 kB / 1.077 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.3539, allocations: 25.7 kB / 1.077 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.225e-05/0.354, allocations: 92.17 kB / 1.078 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.354, allocations: 4 kB / 1.078 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.354, allocations: 9.719 kB / 1.078 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.605e-05/0.3541, allocations: 314.8 kB / 1.078 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.916e-05/0.3542, allocations: 19.98 kB / 1.078 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.51e-05/0.3543, allocations: 23.98 kB / 1.078 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.3545, allocations: 48.81 kB / 1.078 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3545, allocations: 0 / 1.078 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000212/0.3547, allocations: 85.58 kB / 1.078 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.3547, allocations: 11.94 kB / 1.078 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.3547, allocations: 3.938 kB / 1.078 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3548, allocations: 0 / 1.078 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.918e-05/0.3549, allocations: 16.02 kB / 1.078 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3549, allocations: 0 / 1.078 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.05e-05/0.3549, allocations: 11.98 kB / 1.078 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.3549, allocations: 0 / 1.078 GB, free: 3.18 MB / 0.8262 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 6.866e-05/0.355, allocations: 110.4 kB / 1.078 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.355, allocations: 4 kB / 1.078 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002382/0.3553, allocations: 80.78 kB / 1.078 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3553, allocations: 4 kB / 1.078 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3553, allocations: 0 / 1.078 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3553, allocations: 0 / 1.078 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.3555, allocations: 161.6 kB / 1.078 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3555, allocations: 0 / 1.078 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.258e-05/0.3555, allocations: 19.95 kB / 1.078 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3555, allocations: 0 / 1.078 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.3556, allocations: 192 / 1.078 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3556, allocations: 0 / 1.078 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3556, allocations: 4 kB / 1.078 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.3558, allocations: 179.4 kB / 1.079 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.236e-05/0.3559, allocations: 84.95 kB / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.3559, allocations: 0 / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.811e-05/0.356, allocations: 11.98 kB / 1.079 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.295e-05/0.356, allocations: 0 / 1.079 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.356, allocations: 0 / 1.079 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.659e-05/0.3561, allocations: 91.25 kB / 1.079 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3561, allocations: 0 / 1.079 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002416/0.3563, allocations: 20 kB / 1.079 GB, free: 2.324 MB / 0.8262 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.0001968/0.3565, allocations: 111.2 kB / 1.079 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002199/0.3568, allocations: 51.89 kB / 1.079 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3568, allocations: 4 kB / 1.079 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.885e-05/0.3569, allocations: 19.98 kB / 1.079 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.3571, allocations: 12.06 kB / 1.079 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002581/0.3574, allocations: 116.6 kB / 1.079 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.3576, allocations: 0.6731 MB / 1.08 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.384e-05/0.3576, allocations: 7.984 kB / 1.08 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.756e-05/0.3576, allocations: 7.438 kB / 1.08 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3576, allocations: 0 / 1.08 GB, free: 1.262 MB / 0.8262 GB Notification: Performance of Templates: time 0.002791/0.3604, allocations: 0.5826 MB / 1.08 GB, free: 0.6836 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1)