Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00105/0.00105, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001074/0.001074, allocations: 191.9 kB / 16.25 MB, free: 6.629 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.335/1.335, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002077/0.002077, allocations: 290.7 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9929/0.9929, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 91.8 kB / 0.5947 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1559, allocations: 86.99 MB / 0.6796 GB, free: 1.059 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.001591/0.1575, allocations: 0.6376 MB / 0.6803 GB, free: 440 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003886/0.1579, allocations: 204.9 kB / 0.6805 GB, free: 236 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.955e-06/0.1579, allocations: 0.625 kB / 0.6805 GB, free: 236 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.134e-05/0.1579, allocations: 0 / 0.6805 GB, free: 236 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.998e-06/0.1579, allocations: 1.406 kB / 0.6805 GB, free: 236 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003006/0.1582, allocations: 47.91 kB / 0.6805 GB, free: 188 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 2.66e-05/0.1583, allocations: 0 / 0.6805 GB, free: 188 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.925e-05/0.1583, allocations: 8 kB / 0.6805 GB, free: 180 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.004e-05/0.1583, allocations: 0.6562 kB / 0.6805 GB, free: 180 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.501e-05/0.1584, allocations: 7.984 kB / 0.6805 GB, free: 172 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.47e-06/0.1584, allocations: 0 / 0.6805 GB, free: 172 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.1585, allocations: 63.88 kB / 0.6806 GB, free: 108 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.616e-06/0.1585, allocations: 3.938 kB / 0.6806 GB, free: 104 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.507e-05/0.1586, allocations: 0 / 0.6806 GB, free: 104 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 9.757e-05/0.1587, allocations: 39.94 kB / 0.6806 GB, free: 64 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1587, allocations: 0 / 0.6806 GB, free: 64 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1587, allocations: 0 / 0.6806 GB, free: 64 kB / 478.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.1587, allocations: 0 / 0.6806 GB, free: 64 kB / 478.1 MB 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.0002659/0.1589, allocations: 319.6 kB / 0.6809 GB, free: 15.7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.159, allocations: 16.03 kB / 0.6809 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.058e-05/0.159, allocations: 0.9375 kB / 0.6809 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.407e-05/0.1591, allocations: 164.3 kB / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.212e-06/0.1591, allocations: 384 / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.1591, allocations: 384 / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.787e-05/0.1592, allocations: 34.25 kB / 0.6811 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.1592, allocations: 192 / 0.6811 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.1592, allocations: 3.938 kB / 0.6811 GB, free: 15.44 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.1592, allocations: 0 / 0.6811 GB, free: 15.44 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.359e-05/0.1592, allocations: 0 / 0.6811 GB, free: 15.44 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001149/0.1594, allocations: 149.7 kB / 0.6813 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.669e-05/0.1594, allocations: 22.52 kB / 0.6813 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.178e-05/0.1594, allocations: 4.859 kB / 0.6813 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006598/0.1601, allocations: 465.5 kB / 0.6817 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.1601, allocations: 30.56 kB / 0.6818 GB, free: 14.62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.1601, allocations: 0 / 0.6818 GB, free: 14.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001073/0.1602, allocations: 37.62 kB / 0.6818 GB, free: 14.58 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.1603, allocations: 51.41 kB / 0.6819 GB, free: 14.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.702e-05/0.1603, allocations: 93.8 kB / 0.682 GB, free: 14.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.1603, allocations: 25.7 kB / 0.682 GB, free: 14.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.486e-05/0.1603, allocations: 84.2 kB / 0.6821 GB, free: 14.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.1604, allocations: 15.94 kB / 0.6821 GB, free: 14.28 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/0.1604, allocations: 9.719 kB / 0.6821 GB, free: 14.27 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1605, allocations: 310.8 kB / 0.6824 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.464e-06/0.1605, allocations: 0 / 0.6824 GB, free: 13.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.243e-06/0.1605, allocations: 4 kB / 0.6824 GB, free: 13.95 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.816e-05/0.1606, allocations: 4.859 kB / 0.6824 GB, free: 13.94 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1606, allocations: 0 / 0.6824 GB, free: 13.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.502e-05/0.1606, allocations: 45.75 kB / 0.6824 GB, free: 13.89 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.1606, allocations: 4 kB / 0.6824 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1606, allocations: 0 / 0.6824 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1607, allocations: 7.922 kB / 0.6824 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.122e-05/0.1607, allocations: 4 kB / 0.6824 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.1607, allocations: 3.938 kB / 0.6824 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.496e-06/0.1607, allocations: 288 / 0.6825 GB, free: 13.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.1607, allocations: 0 / 0.6825 GB, free: 13.87 MB / 494.1 MB 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 5.33e-05/0.1608, allocations: 107.2 kB / 0.6826 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.215e-06/0.1608, allocations: 12.02 kB / 0.6826 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.423e-05/0.1609, allocations: 40.7 kB / 0.6826 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.1609, allocations: 0 / 0.6826 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1609, allocations: 0 / 0.6826 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.1609, allocations: 0 / 0.6826 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.922e-05/0.161, allocations: 153.6 kB / 0.6827 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.161, allocations: 0 / 0.6827 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.175e-05/0.161, allocations: 4 kB / 0.6828 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.161, allocations: 0 / 0.6828 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.161, allocations: 3.938 kB / 0.6828 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1611, allocations: 8.031 kB / 0.6828 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1611, allocations: 0 / 0.6828 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.965e-05/0.1612, allocations: 65.06 kB / 0.6828 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.085e-05/0.1612, allocations: 77.11 kB / 0.6829 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.388e-06/0.1612, allocations: 3.938 kB / 0.6829 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.192e-06/0.1612, allocations: 0 / 0.6829 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.164e-05/0.1612, allocations: 0 / 0.6829 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.1612, allocations: 4.031 kB / 0.6829 GB, free: 13.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.1614, allocations: 75.28 kB / 0.683 GB, free: 13.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1614, allocations: 7.938 kB / 0.683 GB, free: 13.22 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001823/0.1615, allocations: 12 kB / 0.683 GB, free: 13.21 MB / 494.1 MB 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.0001733/0.1617, allocations: 117.3 kB / 0.6831 GB, free: 13.08 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.486e-05/0.1618, allocations: 11.94 kB / 0.6831 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1618, allocations: 3.938 kB / 0.6831 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.621e-06/0.1618, allocations: 0 / 0.6831 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001101/0.1619, allocations: 4 kB / 0.6831 GB, free: 13.06 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001445/0.1621, allocations: 81.06 kB / 0.6832 GB, free: 12.96 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.1624, allocations: 0.6729 MB / 0.6839 GB, free: 12.26 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.678e-06/0.1624, allocations: 0 / 0.6839 GB, free: 12.26 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.608e-06/0.1624, allocations: 7.438 kB / 0.6839 GB, free: 12.25 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1624, allocations: 4.125 kB / 0.6839 GB, free: 12.25 MB / 494.1 MB Notification: Performance of Templates: time 0.001945/0.1643, allocations: 412.9 kB / 0.6843 GB, free: 11.85 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)