Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001091/0.001091, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001152/0.001152, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8285/0.8285, allocations: 143.1 MB / 434.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 73.25 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1416, allocations: 82.02 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1): time 0.002375/0.144, allocations: 1.438 MB / 0.6777 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004826/0.1445, allocations: 252 kB / 0.678 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.698e-05/0.1445, allocations: 0 / 0.678 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.613e-05/0.1445, allocations: 3.938 kB / 0.678 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.457e-05/0.1446, allocations: 3.938 kB / 0.678 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.1449, allocations: 67.81 kB / 0.678 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.416e-05/0.145, allocations: 19.98 kB / 0.678 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.531e-05/0.1451, allocations: 4 kB / 0.678 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.647e-05/0.1451, allocations: 11.98 kB / 0.6781 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.559e-05/0.1452, allocations: 11.92 kB / 0.6781 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.718e-06/0.1452, allocations: 0 / 0.6781 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.1453, allocations: 63.88 kB / 0.6781 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.225e-05/0.1453, allocations: 15.92 kB / 0.6781 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.892e-05/0.1454, allocations: 7.938 kB / 0.6782 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.1455, allocations: 55.86 kB / 0.6782 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1455, allocations: 0 / 0.6782 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1455, allocations: 0 / 0.6782 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.1455, allocations: 0 / 0.6782 GB, free: 8.398 MB / 0.5137 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.000405/0.1459, allocations: 347.4 kB / 0.6785 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.146, allocations: 12.03 kB / 0.6786 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.146, allocations: 4.844 kB / 0.6786 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.1461, allocations: 168.4 kB / 0.6787 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-06/0.1461, allocations: 384 / 0.6787 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.1461, allocations: 4.375 kB / 0.6787 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.1463, allocations: 50.23 kB / 0.6788 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.1463, allocations: 192 / 0.6788 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.1463, allocations: 3.938 kB / 0.6788 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1464, allocations: 4 kB / 0.6788 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.1465, allocations: 31.97 kB / 0.6788 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002821/0.1468, allocations: 256.9 kB / 0.6791 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.1469, allocations: 38.5 kB / 0.6791 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.264e-05/0.147, allocations: 20.89 kB / 0.6791 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006292/0.1477, allocations: 461.5 kB / 0.6795 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.1477, allocations: 34.55 kB / 0.6796 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1477, allocations: 0 / 0.6796 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003315/0.148, allocations: 85.5 kB / 0.6797 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.1481, allocations: 55.53 kB / 0.6797 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.354e-05/0.1481, allocations: 97.84 kB / 0.6798 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.1482, allocations: 25.7 kB / 0.6798 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.421e-05/0.1482, allocations: 84.14 kB / 0.6799 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.332e-05/0.1482, allocations: 11.84 kB / 0.6799 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.1483, allocations: 13.7 kB / 0.6799 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.048e-05/0.1484, allocations: 318.8 kB / 0.6802 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.917e-05/0.1484, allocations: 11.98 kB / 0.6803 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.044e-05/0.1485, allocations: 19.98 kB / 0.6803 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.1487, allocations: 40.81 kB / 0.6803 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1487, allocations: 0 / 0.6803 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001866/0.1489, allocations: 69.55 kB / 0.6804 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.1489, allocations: 8.094 kB / 0.6804 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.1489, allocations: 0 / 0.6804 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1489, allocations: 4.172 kB / 0.6804 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.634e-05/0.149, allocations: 8 kB / 0.6804 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.149, allocations: 0 / 0.6804 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.552e-05/0.1491, allocations: 7.984 kB / 0.6804 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.1491, allocations: 3.938 kB / 0.6804 GB, free: 5.824 MB / 0.5137 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 5.974e-05/0.1491, allocations: 113.8 kB / 0.6805 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.1492, allocations: 11.98 kB / 0.6805 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002111/0.1494, allocations: 72.66 kB / 0.6806 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1494, allocations: 0 / 0.6806 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.1494, allocations: 0 / 0.6806 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1494, allocations: 3.984 kB / 0.6806 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.1495, allocations: 161.6 kB / 0.6808 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1496, allocations: 0 / 0.6808 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.592e-05/0.1496, allocations: 7.984 kB / 0.6808 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1496, allocations: 4.031 kB / 0.6808 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.1496, allocations: 0 / 0.6808 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1496, allocations: 4 kB / 0.6808 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1497, allocations: 0 / 0.6808 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.1499, allocations: 163.5 kB / 0.6809 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.304e-05/0.1499, allocations: 81.02 kB / 0.681 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.1499, allocations: 4.031 kB / 0.681 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.307e-05/0.15, allocations: 11.92 kB / 0.681 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.15, allocations: 8 kB / 0.681 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.1501, allocations: 0 / 0.681 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.189e-05/0.1501, allocations: 79.28 kB / 0.6811 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.372e-06/0.1501, allocations: 0 / 0.6811 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002313/0.1503, allocations: 23.92 kB / 0.6811 GB, free: 4.992 MB / 0.5137 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.000175/0.1505, allocations: 119.2 kB / 0.6812 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001968/0.1507, allocations: 35.95 kB / 0.6813 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1507, allocations: 0 / 0.6813 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.128e-05/0.1508, allocations: 19.98 kB / 0.6813 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.151, allocations: 12.06 kB / 0.6813 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002232/0.1513, allocations: 123.1 kB / 0.6814 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.1515, allocations: 0.6768 MB / 0.6821 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.395e-05/0.1515, allocations: 15.44 kB / 0.6821 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.1515, allocations: 0 / 0.6821 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of Templates: time 0.001916/0.1534, allocations: 0.7729 MB / 0.6829 GB, free: 3.152 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1)