Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001236/0.001236, allocations: 102.2 kB / 16.27 MB, free: 6 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.001169/0.001169, allocations: 191 kB / 17.2 MB, free: 5.609 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.237/1.237, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002171/0.002171, allocations: 286.2 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8861/0.8861, allocations: 169.3 MB / 0.4988 GB, free: 4.512 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 98.61 kB / 0.5959 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1468, allocations: 86.97 MB / 0.6808 GB, free: 8.172 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.002644/0.1495, allocations: 1.43 MB / 0.6822 GB, free: 6.727 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005074/0.15, allocations: 252 kB / 0.6825 GB, free: 6.477 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.736e-05/0.15, allocations: 0 / 0.6825 GB, free: 6.477 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.401e-05/0.1501, allocations: 0 / 0.6825 GB, free: 6.477 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.931e-05/0.1501, allocations: 11.92 kB / 0.6825 GB, free: 6.465 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000357/0.1505, allocations: 55.83 kB / 0.6825 GB, free: 6.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.692e-05/0.1506, allocations: 31.86 kB / 0.6826 GB, free: 6.379 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.004e-05/0.1507, allocations: 4 kB / 0.6826 GB, free: 6.375 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.693e-05/0.1507, allocations: 11.98 kB / 0.6826 GB, free: 6.363 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.419e-05/0.1508, allocations: 11.92 kB / 0.6826 GB, free: 6.352 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.057e-06/0.1508, allocations: 0 / 0.6826 GB, free: 6.352 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.1509, allocations: 63.94 kB / 0.6826 GB, free: 6.289 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.1509, allocations: 4 kB / 0.6827 GB, free: 6.285 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.234e-05/0.151, allocations: 7.938 kB / 0.6827 GB, free: 6.277 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.1511, allocations: 51.84 kB / 0.6827 GB, free: 6.227 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1511, allocations: 4 kB / 0.6827 GB, free: 6.223 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1511, allocations: 0 / 0.6827 GB, free: 6.223 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.1511, allocations: 7.938 kB / 0.6827 GB, free: 6.215 MB / 494.1 MB 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.0004056/0.1515, allocations: 343.8 kB / 0.683 GB, free: 5.828 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.1516, allocations: 8.031 kB / 0.6831 GB, free: 5.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.1516, allocations: 8.844 kB / 0.6831 GB, free: 5.812 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.1517, allocations: 164.4 kB / 0.6832 GB, free: 5.613 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.1517, allocations: 384 / 0.6832 GB, free: 5.613 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.1518, allocations: 4.375 kB / 0.6832 GB, free: 5.609 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.1519, allocations: 50.23 kB / 0.6833 GB, free: 5.555 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1519, allocations: 192 / 0.6833 GB, free: 5.555 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.152, allocations: 3.938 kB / 0.6833 GB, free: 5.551 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.152, allocations: 0 / 0.6833 GB, free: 5.551 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.1521, allocations: 39.89 kB / 0.6833 GB, free: 5.512 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002982/0.1524, allocations: 249 kB / 0.6836 GB, free: 5.219 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.1526, allocations: 38.48 kB / 0.6836 GB, free: 5.172 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.671e-05/0.1527, allocations: 28.84 kB / 0.6836 GB, free: 5.141 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006624/0.1533, allocations: 461.5 kB / 0.6841 GB, free: 4.598 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.1534, allocations: 34.56 kB / 0.6841 GB, free: 4.555 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.1534, allocations: 0 / 0.6841 GB, free: 4.555 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003369/0.1537, allocations: 85.58 kB / 0.6842 GB, free: 4.465 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.1538, allocations: 55.53 kB / 0.6842 GB, free: 4.398 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.862e-05/0.1538, allocations: 97.84 kB / 0.6843 GB, free: 4.293 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.1538, allocations: 25.7 kB / 0.6843 GB, free: 4.262 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.764e-05/0.1539, allocations: 96.03 kB / 0.6844 GB, free: 4.164 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.1539, allocations: 3.984 kB / 0.6844 GB, free: 4.16 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.838e-05/0.154, allocations: 9.719 kB / 0.6844 GB, free: 4.145 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.505e-05/0.1541, allocations: 318.8 kB / 0.6848 GB, free: 3.824 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.716e-05/0.1541, allocations: 11.98 kB / 0.6848 GB, free: 3.812 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.135e-05/0.1542, allocations: 23.97 kB / 0.6848 GB, free: 3.789 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.1544, allocations: 40.77 kB / 0.6848 GB, free: 3.746 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1544, allocations: 0 / 0.6848 GB, free: 3.746 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001917/0.1546, allocations: 73.5 kB / 0.6849 GB, free: 3.668 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.1546, allocations: 8.094 kB / 0.6849 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1546, allocations: 0 / 0.6849 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1546, allocations: 0 / 0.6849 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.615e-05/0.1547, allocations: 11.98 kB / 0.6849 GB, free: 3.648 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1547, allocations: 3.938 kB / 0.6849 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.357e-05/0.1548, allocations: 7.938 kB / 0.6849 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.1548, allocations: 0 / 0.6849 GB, free: 3.637 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 (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 7.071e-05/0.1548, allocations: 117.8 kB / 0.685 GB, free: 3.512 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.1549, allocations: 8 kB / 0.685 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/0.1551, allocations: 72.7 kB / 0.6851 GB, free: 3.426 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1551, allocations: 0 / 0.6851 GB, free: 3.426 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-06/0.1551, allocations: 0 / 0.6851 GB, free: 3.426 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1551, allocations: 4 kB / 0.6851 GB, free: 3.422 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.1553, allocations: 157.6 kB / 0.6853 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1553, allocations: 0 / 0.6853 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.23e-05/0.1553, allocations: 7.984 kB / 0.6853 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1553, allocations: 4.031 kB / 0.6853 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.1554, allocations: 4 kB / 0.6853 GB, free: 3.203 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.1554, allocations: 0 / 0.6853 GB, free: 3.203 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1554, allocations: 4 kB / 0.6853 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.1556, allocations: 167.4 kB / 0.6854 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.275e-05/0.1556, allocations: 81.02 kB / 0.6855 GB, free: 2.922 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.1557, allocations: 8.016 kB / 0.6855 GB, free: 2.914 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.033e-05/0.1557, allocations: 4 kB / 0.6855 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.1558, allocations: 0 / 0.6855 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.1558, allocations: 7.938 kB / 0.6855 GB, free: 2.902 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.901e-05/0.1558, allocations: 83.27 kB / 0.6856 GB, free: 2.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1558, allocations: 0 / 0.6856 GB, free: 2.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002275/0.1561, allocations: 20 kB / 0.6856 GB, free: 2.801 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 (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.0001767/0.1563, allocations: 115.2 kB / 0.6858 GB, free: 2.676 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.1564, allocations: 31.97 kB / 0.6858 GB, free: 2.645 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1565, allocations: 0 / 0.6858 GB, free: 2.645 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.425e-05/0.1565, allocations: 27.91 kB / 0.6858 GB, free: 2.617 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.1568, allocations: 14.09 kB / 0.6858 GB, free: 2.605 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002587/0.157, allocations: 127.3 kB / 0.6859 GB, free: 2.449 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.1573, allocations: 0.6729 MB / 0.6866 GB, free: 1.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.1573, allocations: 11.44 kB / 0.6866 GB, free: 1.738 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1573, allocations: 0 / 0.6866 GB, free: 1.738 MB / 494.1 MB Notification: Performance of Templates: time 0.002142/0.1594, allocations: 0.7757 MB / 0.6874 GB, free: 0.9648 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1)