Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 104.9 kB / 16.41 MB, free: 6.465 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.001562/0.001562, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.453/1.453, allocations: 222.9 MB / 241 MB, free: 15.05 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.8563/0.8563, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.38 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1454, allocations: 82.03 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0): time 0.002424/0.1478, allocations: 1.445 MB / 0.6777 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004905/0.1483, allocations: 248.1 kB / 0.678 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.892e-05/0.1484, allocations: 4 kB / 0.678 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.372e-05/0.1484, allocations: 3.938 kB / 0.678 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.802e-05/0.1485, allocations: 0 / 0.678 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.1488, allocations: 51.83 kB / 0.678 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.269e-05/0.1489, allocations: 27.92 kB / 0.678 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.825e-05/0.149, allocations: 11.97 kB / 0.678 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.852e-05/0.149, allocations: 8 kB / 0.6781 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.745e-05/0.149, allocations: 15.92 kB / 0.6781 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.734e-06/0.1491, allocations: 0 / 0.6781 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.1492, allocations: 55.89 kB / 0.6781 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.1492, allocations: 7.984 kB / 0.6781 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.1493, allocations: 11.94 kB / 0.6781 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.1494, allocations: 47.86 kB / 0.6782 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.1494, allocations: 0 / 0.6782 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1494, allocations: 0 / 0.6782 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.1494, allocations: 0 / 0.6782 GB, free: 8.422 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.0004125/0.1498, allocations: 347.5 kB / 0.6785 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.1499, allocations: 12.03 kB / 0.6785 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.1499, allocations: 4.844 kB / 0.6785 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.15, allocations: 164.4 kB / 0.6787 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.15, allocations: 384 / 0.6787 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-06/0.15, allocations: 4.375 kB / 0.6787 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.1502, allocations: 54.17 kB / 0.6787 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.1502, allocations: 4.188 kB / 0.6788 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.1502, allocations: 3.938 kB / 0.6788 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1503, allocations: 3.938 kB / 0.6788 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.1504, allocations: 31.97 kB / 0.6788 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002829/0.1507, allocations: 249 kB / 0.679 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.1508, allocations: 42.5 kB / 0.6791 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.139e-05/0.1509, allocations: 20.84 kB / 0.6791 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006218/0.1516, allocations: 461.4 kB / 0.6795 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.1516, allocations: 34.56 kB / 0.6796 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.452e-06/0.1516, allocations: 0 / 0.6796 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003349/0.1519, allocations: 85.55 kB / 0.6796 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.152, allocations: 51.41 kB / 0.6797 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.924e-05/0.152, allocations: 97.84 kB / 0.6798 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.1521, allocations: 25.7 kB / 0.6798 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.874e-05/0.1521, allocations: 92.27 kB / 0.6799 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.1521, allocations: 3.906 kB / 0.6799 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.1522, allocations: 13.66 kB / 0.6799 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1523, allocations: 322.8 kB / 0.6802 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.16e-05/0.1524, allocations: 15.97 kB / 0.6802 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-05/0.1525, allocations: 15.98 kB / 0.6803 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.1526, allocations: 40.89 kB / 0.6803 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1526, allocations: 0 / 0.6803 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001877/0.1528, allocations: 69.59 kB / 0.6804 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1528, allocations: 4 kB / 0.6804 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1528, allocations: 0 / 0.6804 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1529, allocations: 0 / 0.6804 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.502e-05/0.1529, allocations: 11.98 kB / 0.6804 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.153, allocations: 7.969 kB / 0.6804 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.634e-05/0.153, allocations: 4 kB / 0.6804 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.153, allocations: 0 / 0.6804 GB, free: 5.852 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 6.541e-05/0.1531, allocations: 117.8 kB / 0.6805 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.1531, allocations: 4 kB / 0.6805 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002151/0.1533, allocations: 72.72 kB / 0.6806 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1534, allocations: 4.031 kB / 0.6806 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1534, allocations: 0 / 0.6806 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1534, allocations: 192 / 0.6806 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.1535, allocations: 161.6 kB / 0.6807 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1535, allocations: 7.969 kB / 0.6807 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.714e-05/0.1536, allocations: 4 kB / 0.6807 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.1536, allocations: 0 / 0.6807 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.1536, allocations: 0 / 0.6807 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1536, allocations: 4 kB / 0.6807 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1536, allocations: 3.938 kB / 0.6807 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.1539, allocations: 167.5 kB / 0.6809 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.706e-05/0.1539, allocations: 88.94 kB / 0.681 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.1539, allocations: 0 / 0.681 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.545e-05/0.154, allocations: 4 kB / 0.681 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.154, allocations: 3.984 kB / 0.681 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.1541, allocations: 4.031 kB / 0.681 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.402e-05/0.1541, allocations: 83.28 kB / 0.6811 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1541, allocations: 0 / 0.6811 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002447/0.1543, allocations: 20 kB / 0.6811 GB, free: 5.02 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.0001698/0.1545, allocations: 115.2 kB / 0.6812 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002008/0.1547, allocations: 39.91 kB / 0.6813 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1547, allocations: 0 / 0.6813 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.533e-05/0.1548, allocations: 23.97 kB / 0.6813 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.1551, allocations: 7.938 kB / 0.6813 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002631/0.1553, allocations: 127.2 kB / 0.6814 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.1556, allocations: 0.6769 MB / 0.6821 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.585e-05/0.1556, allocations: 7.438 kB / 0.6821 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of SimCode: time 4e-07/0.1556, allocations: 0 / 0.6821 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of Templates: time 0.002288/0.1579, allocations: 0.7873 MB / 0.6828 GB, free: 3.172 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1)