Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_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.007961/0.007961, allocations: 99.75 kB / 15.73 MB, free: 6.043 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.001948/0.001948, allocations: 192.2 kB / 16.67 MB, free: 5.953 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.17 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.8869/0.8869, allocations: 143.1 MB / 433.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 64.39 kB / 0.5951 GB, free: 12.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1543, allocations: 82.02 MB / 0.6752 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1): time 0.001871/0.1562, allocations: 0.5944 MB / 0.6758 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004803/0.1567, allocations: 187.8 kB / 0.676 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.77e-05/0.1568, allocations: 0 / 0.676 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.264e-05/0.1568, allocations: 0 / 0.676 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.131e-06/0.1568, allocations: 0 / 0.676 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004647/0.1573, allocations: 55.83 kB / 0.676 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.55e-05/0.1573, allocations: 7.922 kB / 0.676 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.024e-05/0.1574, allocations: 8 kB / 0.676 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.332e-05/0.1574, allocations: 3.938 kB / 0.676 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.131e-05/0.1574, allocations: 0 / 0.676 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.552e-06/0.1574, allocations: 0 / 0.676 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001847/0.1576, allocations: 59.94 kB / 0.6761 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.073e-06/0.1576, allocations: 0 / 0.6761 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.781e-05/0.1577, allocations: 3.984 kB / 0.6761 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.1578, allocations: 32.23 kB / 0.6761 GB, free: 10 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1578, allocations: 0 / 0.6761 GB, free: 10 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1578, allocations: 3.938 kB / 0.6761 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.1578, allocations: 0 / 0.6761 GB, free: 9.996 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002941/0.1581, allocations: 327.5 kB / 0.6764 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1582, allocations: 8.031 kB / 0.6764 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.349e-05/0.1582, allocations: 30.75 kB / 0.6765 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.307e-05/0.1582, allocations: 0.9375 kB / 0.6765 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.378e-05/0.1583, allocations: 160.4 kB / 0.6766 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.1584, allocations: 8.375 kB / 0.6766 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.765e-06/0.1584, allocations: 4.375 kB / 0.6766 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.205e-05/0.1585, allocations: 26.27 kB / 0.6767 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.1585, allocations: 7.938 kB / 0.6767 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.1585, allocations: 7.922 kB / 0.6767 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1585, allocations: 0 / 0.6767 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.08e-05/0.1585, allocations: 11.88 kB / 0.6767 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001342/0.1587, allocations: 141.7 kB / 0.6768 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.123e-05/0.1587, allocations: 22.61 kB / 0.6769 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.598e-05/0.1587, allocations: 4.859 kB / 0.6769 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007978/0.1595, allocations: 461.5 kB / 0.6773 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.1596, allocations: 30.56 kB / 0.6773 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.1596, allocations: 0 / 0.6773 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001418/0.1597, allocations: 49.56 kB / 0.6774 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.1598, allocations: 55.53 kB / 0.6774 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.342e-05/0.1598, allocations: 89.86 kB / 0.6775 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.1598, allocations: 25.7 kB / 0.6775 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.082e-05/0.1599, allocations: 80.14 kB / 0.6776 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.1599, allocations: 3.953 kB / 0.6776 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-05/0.1599, allocations: 13.72 kB / 0.6776 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1601, allocations: 310.8 kB / 0.6779 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.768e-06/0.1601, allocations: 0 / 0.6779 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.228e-06/0.1601, allocations: 8 kB / 0.6779 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.503e-05/0.1601, allocations: 8.859 kB / 0.6779 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1601, allocations: 0 / 0.6779 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.729e-05/0.1602, allocations: 37.62 kB / 0.678 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.1602, allocations: 8 kB / 0.678 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.1602, allocations: 3.938 kB / 0.678 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.1603, allocations: 0 / 0.678 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.46e-05/0.1603, allocations: 0 / 0.678 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.1603, allocations: 3.984 kB / 0.678 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.465e-05/0.1604, allocations: 4.094 kB / 0.678 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.1604, allocations: 4 kB / 0.678 GB, free: 7.75 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 (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 7.916e-05/0.1605, allocations: 106.7 kB / 0.6781 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-06/0.1605, allocations: 0 / 0.6781 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.344e-05/0.1606, allocations: 48.73 kB / 0.6781 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.1606, allocations: 3.938 kB / 0.6782 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1606, allocations: 0 / 0.6782 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.1606, allocations: 4 kB / 0.6782 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.296e-05/0.1607, allocations: 145.7 kB / 0.6783 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1607, allocations: 4.031 kB / 0.6783 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.613e-05/0.1607, allocations: 0 / 0.6783 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.1607, allocations: 3.938 kB / 0.6783 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.1608, allocations: 7.938 kB / 0.6783 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1608, allocations: 0 / 0.6783 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1608, allocations: 0 / 0.6783 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.444e-05/0.1608, allocations: 57.08 kB / 0.6784 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.547e-05/0.1609, allocations: 85.12 kB / 0.6784 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.1609, allocations: 11.94 kB / 0.6785 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-06/0.1609, allocations: 0 / 0.6785 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.929e-06/0.1609, allocations: 0 / 0.6785 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.1609, allocations: 0 / 0.6785 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.464e-05/0.161, allocations: 75.28 kB / 0.6785 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.493e-06/0.161, allocations: 0 / 0.6785 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002084/0.1612, allocations: 19.88 kB / 0.6785 GB, free: 7.09 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 (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.0004494/0.1616, allocations: 0.6202 MB / 0.6792 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.601e-05/0.1617, allocations: 8 kB / 0.6792 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1617, allocations: 96 / 0.6792 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.658e-06/0.1618, allocations: 7.938 kB / 0.6792 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.1619, allocations: 8.125 kB / 0.6792 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002884/0.1622, allocations: 102.6 kB / 0.6793 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.1624, allocations: 0.669 MB / 0.6799 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.427e-05/0.1625, allocations: 4 kB / 0.6799 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.998e-05/0.1625, allocations: 7.438 kB / 0.6799 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of SimCode: time 4.41e-07/0.1625, allocations: 0 / 0.6799 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.1809, allocations: 1.155 MB / 0.6811 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.641/7.822, allocations: 10.64 kB / 0.6811 GB, free: 4.5 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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_Functions_Examples_BesselJ1.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)