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.001471/0.001471, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001922/0.001922, allocations: 196 kB / 16.53 MB, free: 6.664 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.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 1.016/1.016, allocations: 143 MB / 433.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 59.91 kB / 0.5143 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1524, allocations: 82.04 MB / 0.5944 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1): time 0.001856/0.1543, allocations: 0.5684 MB / 0.595 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004611/0.1547, allocations: 207.3 kB / 0.5952 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.153e-05/0.1548, allocations: 0 / 0.5952 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.517e-05/0.1548, allocations: 0 / 0.5952 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.232e-06/0.1548, allocations: 4 kB / 0.5952 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003618/0.1552, allocations: 59.77 kB / 0.5952 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.161e-05/0.1552, allocations: 0 / 0.5952 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.163e-05/0.1553, allocations: 4 kB / 0.5952 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.233e-05/0.1553, allocations: 0 / 0.5952 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.842e-05/0.1553, allocations: 3.984 kB / 0.5952 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.761e-06/0.1553, allocations: 0 / 0.5952 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.1555, allocations: 59.94 kB / 0.5953 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.913e-06/0.1555, allocations: 0 / 0.5953 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.443e-05/0.1555, allocations: 0 / 0.5953 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.1556, allocations: 31.94 kB / 0.5953 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1557, allocations: 7.938 kB / 0.5953 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1557, allocations: 0 / 0.5953 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.1557, allocations: 0 / 0.5953 GB, free: 8.531 MB / 0.4981 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.000289/0.156, allocations: 327.5 kB / 0.5956 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.156, allocations: 8.031 kB / 0.5956 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.323e-05/0.156, allocations: 30.75 kB / 0.5957 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.778e-05/0.1561, allocations: 4.922 kB / 0.5957 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.324e-05/0.1562, allocations: 164.4 kB / 0.5958 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.1562, allocations: 384 / 0.5958 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-06/0.1562, allocations: 8.375 kB / 0.5958 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.154e-05/0.1563, allocations: 26.27 kB / 0.5959 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1563, allocations: 3.938 kB / 0.5959 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.1563, allocations: 0 / 0.5959 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1563, allocations: 0 / 0.5959 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.364e-05/0.1564, allocations: 11.92 kB / 0.5959 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000143/0.1565, allocations: 145.7 kB / 0.596 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.337e-05/0.1565, allocations: 14.58 kB / 0.596 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.583e-05/0.1566, allocations: 12.95 kB / 0.596 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007552/0.1573, allocations: 457.5 kB / 0.5965 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.1574, allocations: 30.56 kB / 0.5965 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.1574, allocations: 4 kB / 0.5965 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001613/0.1575, allocations: 41.58 kB / 0.5966 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.1576, allocations: 55.39 kB / 0.5966 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.352e-05/0.1576, allocations: 89.86 kB / 0.5967 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.1576, allocations: 25.7 kB / 0.5967 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.999e-05/0.1577, allocations: 80.14 kB / 0.5968 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.1577, allocations: 11.84 kB / 0.5968 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.659e-05/0.1577, allocations: 13.72 kB / 0.5968 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1578, allocations: 315 kB / 0.5971 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.918e-06/0.1579, allocations: 0 / 0.5971 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.18e-06/0.1579, allocations: 0 / 0.5971 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.341e-05/0.1579, allocations: 8.859 kB / 0.5971 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1579, allocations: 0 / 0.5971 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.541e-05/0.158, allocations: 41.62 kB / 0.5972 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.158, allocations: 8 kB / 0.5972 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.158, allocations: 3.938 kB / 0.5972 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.158, allocations: 96 / 0.5972 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.857e-05/0.1581, allocations: 4 kB / 0.5972 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.1581, allocations: 3.938 kB / 0.5972 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.047e-06/0.1581, allocations: 0 / 0.5972 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.1581, allocations: 4 kB / 0.5972 GB, free: 6.289 MB / 0.4981 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 6.1e-05/0.1582, allocations: 105.8 kB / 0.5973 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.953e-06/0.1582, allocations: 0 / 0.5973 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.02e-05/0.1582, allocations: 44.69 kB / 0.5973 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1583, allocations: 0 / 0.5973 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1583, allocations: 4.031 kB / 0.5973 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1583, allocations: 0 / 0.5973 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.91e-05/0.1584, allocations: 149.7 kB / 0.5975 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1584, allocations: 3.984 kB / 0.5975 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.16e-05/0.1584, allocations: 0 / 0.5975 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1584, allocations: 0 / 0.5975 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.1584, allocations: 3.938 kB / 0.5975 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1584, allocations: 4 kB / 0.5975 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1584, allocations: 0 / 0.5975 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.282e-05/0.1585, allocations: 57.14 kB / 0.5975 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.094e-05/0.1585, allocations: 85.09 kB / 0.5976 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.1585, allocations: 3.938 kB / 0.5976 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.583e-06/0.1586, allocations: 4 kB / 0.5976 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.012e-05/0.1586, allocations: 0 / 0.5976 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/0.1586, allocations: 0 / 0.5976 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.92e-05/0.1586, allocations: 75.28 kB / 0.5977 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1586, allocations: 3.938 kB / 0.5977 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002004/0.1588, allocations: 16 kB / 0.5977 GB, free: 5.641 MB / 0.4981 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.0004232/0.1592, allocations: 0.6088 MB / 0.5983 GB, free: 5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.514e-05/0.1593, allocations: 16.02 kB / 0.5983 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1593, allocations: 0 / 0.5983 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.654e-06/0.1593, allocations: 7.875 kB / 0.5983 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.1595, allocations: 5.891 kB / 0.5983 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002841/0.1598, allocations: 110.6 kB / 0.5985 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.16, allocations: 0.6767 MB / 0.5991 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.691e-05/0.16, allocations: 3.984 kB / 0.5991 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.716e-05/0.16, allocations: 7.438 kB / 0.5991 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.16, allocations: 12.06 kB / 0.5991 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01664/0.1767, allocations: 1.127 MB / 0.6002 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.194/7.371, allocations: 19.34 kB / 0.6003 GB, free: 3.031 MB / 0.4981 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)