Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1") translateModel(BuildingSystems.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8144/0.8144, allocations: 140.1 MB / 156 MB, free: 5.18 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 171.8 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.4 MB / 426.3 MB, free: 8.469 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007914/0.0007915, allocations: 90.34 kB / 0.4945 GB, free: 8.414 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001596/0.001596, allocations: 265.3 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004236/0.0004237, allocations: 20 kB / 0.662 GB, free: 6.812 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2991, allocations: 79.3 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1451/0.4442, allocations: 107.7 MB / 0.8446 GB, free: 2.535 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.4445, allocations: 75.95 kB / 0.8447 GB, free: 2.461 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.007327/0.4518, allocations: 2.475 MB / 0.8471 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.555e-06/0.4518, allocations: 0 / 0.8471 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.4519, allocations: 0 / 0.8471 GB, free: 15.98 MB / 0.5261 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.0004083/0.4523, allocations: 375.3 kB / 0.8475 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.4523, allocations: 12.03 kB / 0.8475 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.869e-05/0.4524, allocations: 0.9375 kB / 0.8475 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.4525, allocations: 164.3 kB / 0.8476 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.4525, allocations: 8.375 kB / 0.8476 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.235e-06/0.4525, allocations: 384 / 0.8476 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.4527, allocations: 54.23 kB / 0.8477 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.004e-06/0.4527, allocations: 192 / 0.8477 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.4527, allocations: 3.938 kB / 0.8477 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.4527, allocations: 3.984 kB / 0.8477 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.4529, allocations: 47.95 kB / 0.8477 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004137/0.4533, allocations: 264.9 kB / 0.848 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.4535, allocations: 54.48 kB / 0.848 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.213e-05/0.4536, allocations: 20.91 kB / 0.8481 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005984/0.4542, allocations: 457.5 kB / 0.8485 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.4542, allocations: 30.56 kB / 0.8485 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.4542, allocations: 0 / 0.8485 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0003497/0.4546, allocations: 109.5 kB / 0.8486 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.4546, allocations: 51.41 kB / 0.8487 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.754e-05/0.4547, allocations: 102 kB / 0.8488 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.4547, allocations: 29.7 kB / 0.8488 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.918e-05/0.4548, allocations: 80.14 kB / 0.8489 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.4548, allocations: 7.906 kB / 0.8489 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.4548, allocations: 0 / 0.8489 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.4549, allocations: 322.8 kB / 0.8492 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.617e-05/0.455, allocations: 19.98 kB / 0.8492 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.643e-05/0.4551, allocations: 23.98 kB / 0.8492 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.4552, allocations: 44.83 kB / 0.8493 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/0.4552, allocations: 4.062 kB / 0.8493 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001808/0.4554, allocations: 85.47 kB / 0.8494 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.4554, allocations: 8 kB / 0.8494 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.4554, allocations: 0 / 0.8494 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.4555, allocations: 0 / 0.8494 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.984e-05/0.4555, allocations: 16.02 kB / 0.8494 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.4556, allocations: 0 / 0.8494 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.442e-05/0.4556, allocations: 11.98 kB / 0.8494 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.4557, allocations: 0 / 0.8494 GB, free: 13.31 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.099e-05/0.4557, allocations: 113.8 kB / 0.8495 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.4558, allocations: 4 kB / 0.8495 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.456, allocations: 80.72 kB / 0.8496 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.456, allocations: 4 kB / 0.8496 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.456, allocations: 0 / 0.8496 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.456, allocations: 0 / 0.8496 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.4562, allocations: 161.6 kB / 0.8498 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4562, allocations: 0 / 0.8498 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.948e-05/0.4563, allocations: 16.02 kB / 0.8498 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.4563, allocations: 0 / 0.8498 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.4563, allocations: 0 / 0.8498 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4563, allocations: 0 / 0.8498 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4563, allocations: 4 kB / 0.8498 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.4566, allocations: 175.5 kB / 0.8499 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.615e-05/0.4566, allocations: 84.95 kB / 0.85 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.4566, allocations: 4 kB / 0.85 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.341e-05/0.4567, allocations: 11.98 kB / 0.85 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.4567, allocations: 0 / 0.85 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.4568, allocations: 32 / 0.85 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.4e-05/0.4568, allocations: 87.28 kB / 0.8501 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.11e-07/0.4568, allocations: 0 / 0.8501 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000283/0.4571, allocations: 43.92 kB / 0.8502 GB, free: 12.44 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003403/0.4574, allocations: 175.3 kB / 0.8503 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002072/0.4577, allocations: 43.97 kB / 0.8504 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4577, allocations: 0 / 0.8504 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.127e-05/0.4578, allocations: 23.98 kB / 0.8504 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.458, allocations: 13.64 kB / 0.8504 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003217/0.4584, allocations: 108.7 kB / 0.8505 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.4587, allocations: 0.6809 MB / 0.8512 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.589e-05/0.4587, allocations: 0 / 0.8512 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.772e-05/0.4587, allocations: 7.438 kB / 0.8512 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of SimCode: time 2.2e-07/0.4587, allocations: 0 / 0.8512 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of Templates: time 0.003032/0.4618, allocations: 0.7911 MB / 0.852 GB, free: 10.54 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe 2>&1)