Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 90.83 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.008576/0.008576, allocations: 171.7 kB / 16.26 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.446/1.446, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.918/2.918, allocations: 473.4 MB / 0.7469 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.0003469, allocations: 17.89 kB / 0.9158 GB, free: 33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3493, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.0007804/0.3501, allocations: 310.9 kB / 1.074 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005402/0.3507, allocations: 213.5 kB / 1.075 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.088e-05/0.3507, allocations: 0 / 1.075 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.256e-05/0.3507, allocations: 0 / 1.075 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.049e-06/0.3508, allocations: 0 / 1.075 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.3511, allocations: 47.88 kB / 1.075 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.134e-05/0.3511, allocations: 0 / 1.075 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.533e-05/0.3512, allocations: 4 kB / 1.075 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.374e-05/0.3512, allocations: 0 / 1.075 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.336e-05/0.3512, allocations: 7.938 kB / 1.075 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.014e-06/0.3513, allocations: 0 / 1.075 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001792/0.3514, allocations: 63.88 kB / 1.075 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.072e-05/0.3515, allocations: 3.984 kB / 1.075 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.3515, allocations: 33.64 kB / 1.075 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.3516, allocations: 31.95 kB / 1.075 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3516, allocations: 0 / 1.075 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3516, allocations: 0 / 1.075 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.3516, allocations: 0 / 1.075 GB, free: 6.84 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002812/0.3519, allocations: 315.6 kB / 1.075 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.352, allocations: 16.02 kB / 1.075 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.352, allocations: 4.938 kB / 1.075 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.255e-05/0.3521, allocations: 168.3 kB / 1.075 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.395e-06/0.3521, allocations: 384 / 1.075 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-06/0.3521, allocations: 384 / 1.075 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.252e-05/0.3522, allocations: 26.27 kB / 1.075 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.3522, allocations: 192 / 1.075 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.3523, allocations: 7.938 kB / 1.075 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.3523, allocations: 0 / 1.075 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.004e-05/0.3523, allocations: 8 kB / 1.075 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001329/0.3524, allocations: 145.7 kB / 1.075 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.792e-05/0.3525, allocations: 22.55 kB / 1.076 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.471e-05/0.3525, allocations: 4.859 kB / 1.076 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007608/0.3533, allocations: 465.5 kB / 1.076 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.3533, allocations: 30.56 kB / 1.076 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 7.885e-06/0.3533, allocations: 0 / 1.076 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001261/0.3535, allocations: 37.58 kB / 1.076 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.3535, allocations: 55.34 kB / 1.076 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.619e-05/0.3536, allocations: 93.86 kB / 1.076 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.3536, allocations: 25.7 kB / 1.076 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.557e-05/0.3536, allocations: 88.27 kB / 1.076 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.3536, allocations: 3.984 kB / 1.076 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.217e-05/0.3537, allocations: 9.719 kB / 1.076 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.744e-05/0.3538, allocations: 310.8 kB / 1.077 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.684e-06/0.3538, allocations: 0 / 1.077 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.621e-06/0.3538, allocations: 0 / 1.077 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.671e-05/0.3538, allocations: 8.859 kB / 1.077 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3538, allocations: 0 / 1.077 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.654e-05/0.3539, allocations: 37.77 kB / 1.077 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3539, allocations: 9.562 kB / 1.077 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3539, allocations: 0 / 1.077 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.3539, allocations: 7.875 kB / 1.077 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.342e-05/0.354, allocations: 3.984 kB / 1.077 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.354, allocations: 4 kB / 1.077 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.171e-05/0.354, allocations: 3.906 kB / 1.077 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-06/0.354, allocations: 0 / 1.077 GB, free: 4.648 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 (1): * Single equations (assignments): 1 * 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.447e-05/0.3541, allocations: 109.8 kB / 1.077 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.973e-06/0.3541, allocations: 4.031 kB / 1.077 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.969e-05/0.3542, allocations: 44.75 kB / 1.077 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.3542, allocations: 0 / 1.077 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3542, allocations: 4 kB / 1.077 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3542, allocations: 0 / 1.077 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.568e-05/0.3543, allocations: 145.7 kB / 1.077 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3543, allocations: 0 / 1.077 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.188e-05/0.3544, allocations: 0 / 1.077 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.3544, allocations: 4 kB / 1.077 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.3544, allocations: 3.938 kB / 1.077 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3544, allocations: 11.97 kB / 1.077 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.3544, allocations: 3.984 kB / 1.077 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.991e-05/0.3545, allocations: 53.14 kB / 1.077 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.372e-05/0.3545, allocations: 81.11 kB / 1.077 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.3545, allocations: 3.938 kB / 1.077 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.293e-06/0.3545, allocations: 3.938 kB / 1.077 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.197e-05/0.3546, allocations: 3.984 kB / 1.077 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.3546, allocations: 4.031 kB / 1.077 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.524e-05/0.3546, allocations: 75.28 kB / 1.077 GB, free: 4 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3546, allocations: 0 / 1.077 GB, free: 4 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002047/0.3548, allocations: 12 kB / 1.077 GB, free: 3.988 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 (1): * Single equations (assignments): 1 * 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.0002213/0.355, allocations: 115.2 kB / 1.077 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.939e-05/0.3551, allocations: 11.92 kB / 1.077 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.3551, allocations: 4 kB / 1.077 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.871e-06/0.3551, allocations: 0 / 1.077 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.3553, allocations: 0 / 1.077 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000176/0.3554, allocations: 81.16 kB / 1.077 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.3557, allocations: 0.6692 MB / 1.078 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.227e-05/0.3557, allocations: 0 / 1.078 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.241e-05/0.3557, allocations: 11.42 kB / 1.078 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.3557, allocations: 4.125 kB / 1.078 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of Templates: time 0.002532/0.3583, allocations: 408.3 kB / 1.078 GB, free: 2.633 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)