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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008096/0.008096, allocations: 99.97 kB / 15.73 MB, free: 6.055 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.00204/0.00204, allocations: 192.6 kB / 16.67 MB, free: 5.961 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.497/1.497, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.8944/0.8944, allocations: 143.3 MB / 433.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 63.47 kB / 0.5953 GB, free: 12.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1563, allocations: 82.03 MB / 0.6754 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1): time 0.002672/0.159, allocations: 1.438 MB / 0.6768 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0005739/0.1596, allocations: 252 kB / 0.6771 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.467e-05/0.1596, allocations: 3.938 kB / 0.6771 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.49e-05/0.1597, allocations: 11.98 kB / 0.6771 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.968e-05/0.1597, allocations: 3.938 kB / 0.6771 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003388/0.1601, allocations: 59.81 kB / 0.6771 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.854e-05/0.1601, allocations: 19.98 kB / 0.6772 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.932e-05/0.1602, allocations: 4 kB / 0.6772 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.283e-05/0.1603, allocations: 4 kB / 0.6772 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.077e-05/0.1603, allocations: 15.92 kB / 0.6772 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.166e-06/0.1603, allocations: 3.938 kB / 0.6772 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.1605, allocations: 67.92 kB / 0.6772 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.558e-06/0.1605, allocations: 4 kB / 0.6772 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.1605, allocations: 7.938 kB / 0.6773 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.1607, allocations: 60.06 kB / 0.6773 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.1607, allocations: 4 kB / 0.6773 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.055e-06/0.1607, allocations: 0 / 0.6773 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.1607, allocations: 3.938 kB / 0.6773 GB, free: 8.668 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.0004778/0.1612, allocations: 343.4 kB / 0.6776 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1612, allocations: 8.031 kB / 0.6777 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.412e-05/0.1613, allocations: 30.75 kB / 0.6777 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.411e-05/0.1613, allocations: 8.938 kB / 0.6777 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.1615, allocations: 176.2 kB / 0.6779 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-06/0.1615, allocations: 384 / 0.6779 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.1615, allocations: 384 / 0.6779 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.1617, allocations: 46.25 kB / 0.6779 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1617, allocations: 3.938 kB / 0.6779 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1617, allocations: 3.984 kB / 0.6779 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1617, allocations: 4 kB / 0.6779 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.1619, allocations: 35.91 kB / 0.6779 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/0.1622, allocations: 249 kB / 0.6782 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.1624, allocations: 34.5 kB / 0.6782 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.221e-05/0.1625, allocations: 24.91 kB / 0.6782 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007448/0.1632, allocations: 461.5 kB / 0.6787 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.1633, allocations: 30.56 kB / 0.6787 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.903e-06/0.1633, allocations: 0 / 0.6787 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0004091/0.1637, allocations: 85.58 kB / 0.6788 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.1638, allocations: 55.41 kB / 0.6788 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.963e-05/0.1638, allocations: 101.8 kB / 0.6789 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.1639, allocations: 29.64 kB / 0.679 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.94e-05/0.1639, allocations: 88.08 kB / 0.6791 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.1639, allocations: 3.953 kB / 0.6791 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.164, allocations: 13.72 kB / 0.6791 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1641, allocations: 319 kB / 0.6794 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.434e-05/0.1642, allocations: 15.97 kB / 0.6794 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.306e-05/0.1643, allocations: 15.98 kB / 0.6794 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.1645, allocations: 40.77 kB / 0.6794 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.1645, allocations: 3.938 kB / 0.6795 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001941/0.1647, allocations: 73.72 kB / 0.6795 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1647, allocations: 4 kB / 0.6795 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.1647, allocations: 0 / 0.6795 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.1647, allocations: 4 kB / 0.6795 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-05/0.1648, allocations: 7.984 kB / 0.6795 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1648, allocations: 0 / 0.6795 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.87e-05/0.1649, allocations: 11.94 kB / 0.6795 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.1649, allocations: 4.031 kB / 0.6796 GB, free: 6.051 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 9.299e-05/0.165, allocations: 113.8 kB / 0.6797 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.165, allocations: 0 / 0.6797 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/0.1652, allocations: 76.72 kB / 0.6797 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.1653, allocations: 0 / 0.6797 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1653, allocations: 0 / 0.6797 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1653, allocations: 0 / 0.6797 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.1655, allocations: 165.6 kB / 0.6799 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1655, allocations: 0 / 0.6799 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.572e-05/0.1655, allocations: 8 kB / 0.6799 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1655, allocations: 0 / 0.6799 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-06/0.1655, allocations: 0 / 0.6799 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.1656, allocations: 3.984 kB / 0.6799 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1656, allocations: 0 / 0.6799 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.1658, allocations: 171.4 kB / 0.6801 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.619e-05/0.1659, allocations: 77.3 kB / 0.6801 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.1659, allocations: 0 / 0.6801 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.479e-05/0.166, allocations: 7.984 kB / 0.6801 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.166, allocations: 7.984 kB / 0.6802 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.166, allocations: 0 / 0.6802 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.886e-05/0.1661, allocations: 87.22 kB / 0.6802 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1661, allocations: 0 / 0.6802 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002384/0.1663, allocations: 19.97 kB / 0.6803 GB, free: 5.23 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.0006642/0.167, allocations: 0.7201 MB / 0.681 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002218/0.1672, allocations: 43.89 kB / 0.681 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1673, allocations: 3.938 kB / 0.681 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.739e-05/0.1673, allocations: 19.98 kB / 0.681 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.1676, allocations: 0 / 0.681 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00041/0.168, allocations: 139.2 kB / 0.6812 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.1683, allocations: 0.6768 MB / 0.6818 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.2e-05/0.1684, allocations: 0 / 0.6818 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.626e-05/0.1684, allocations: 15.44 kB / 0.6818 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1684, allocations: 0 / 0.6818 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02306/0.1915, allocations: 1.516 MB / 0.6833 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.967/8.159, allocations: 9.453 kB / 0.6833 GB, free: 2.086 MB / 0.5137 GB (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ1.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1)