Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.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.Fluid.Examples.Performance.Example5,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example5",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.005083/0.005083, allocations: 103.9 kB / 15.74 MB, free: 6.027 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.001399/0.001399, allocations: 194.7 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.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.9919/0.9919, allocations: 143.3 MB / 433.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 63.88 kB / 0.5953 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3597, allocations: 82.02 MB / 0.6754 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5): time 0.001467/0.3613, allocations: 0.5104 MB / 0.6759 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001692/0.3614, allocations: 44.47 kB / 0.6759 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.019e-05/0.3615, allocations: 0 / 0.6759 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.339e-05/0.3615, allocations: 0 / 0.6759 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.3617, allocations: 10.38 kB / 0.676 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 5.76e-05/0.3618, allocations: 5.359 kB / 0.676 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.782e-05/0.3618, allocations: 9.328 kB / 0.676 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.362e-05/0.3619, allocations: 0.9375 kB / 0.676 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.864e-05/0.3619, allocations: 6.219 kB / 0.676 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.413e-05/0.362, allocations: 19.2 kB / 0.676 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.362, allocations: 1.125 kB / 0.676 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.206e-06/0.362, allocations: 5.031 kB / 0.676 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.208e-05/0.3621, allocations: 1.969 kB / 0.676 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.967e-05/0.3621, allocations: 9.953 kB / 0.676 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.741e-05/0.3622, allocations: 11.02 kB / 0.676 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3622, allocations: 0 / 0.676 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3622, allocations: 0.9062 kB / 0.676 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.3622, allocations: 0 / 0.676 GB, free: 0.5 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.0003516/0.3626, allocations: 334 kB / 0.6763 GB, free: 140 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.3626, allocations: 10.09 kB / 0.6763 GB, free: 140 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.202e-05/0.3626, allocations: 34.73 kB / 0.6764 GB, free: 96 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.303e-05/0.3627, allocations: 2.031 kB / 0.6764 GB, free: 96 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.3629, allocations: 173.8 kB / 0.6765 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.3629, allocations: 1.344 kB / 0.6765 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.3629, allocations: 1.5 kB / 0.6766 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.149e-05/0.363, allocations: 32.78 kB / 0.6766 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.363, allocations: 5.062 kB / 0.6766 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.363, allocations: 4 kB / 0.6766 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.363, allocations: 0 / 0.6766 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.093e-05/0.3631, allocations: 7.062 kB / 0.6766 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001703/0.3632, allocations: 154.2 kB / 0.6767 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.852e-05/0.3633, allocations: 22.47 kB / 0.6768 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.047e-05/0.3633, allocations: 7.328 kB / 0.6768 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.3633, allocations: 0 / 0.6768 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.3634, allocations: 39.69 kB / 0.6768 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.3634, allocations: 0 / 0.6768 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001736/0.3635, allocations: 52.03 kB / 0.6769 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.3636, allocations: 55.39 kB / 0.6769 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.737e-05/0.3637, allocations: 103.6 kB / 0.677 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.3637, allocations: 27.42 kB / 0.677 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/0.3638, allocations: 84.12 kB / 0.6771 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.3638, allocations: 5.672 kB / 0.6771 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.3638, allocations: 19.72 kB / 0.6771 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.364, allocations: 312.8 kB / 0.6774 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.887e-05/0.364, allocations: 5.891 kB / 0.6774 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.606e-05/0.364, allocations: 17.69 kB / 0.6775 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.042e-05/0.3641, allocations: 25.08 kB / 0.6775 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3641, allocations: 1.156 kB / 0.6775 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.14e-05/0.3642, allocations: 53.81 kB / 0.6775 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3642, allocations: 9.281 kB / 0.6775 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3642, allocations: 0 / 0.6775 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3642, allocations: 9.062 kB / 0.6776 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-05/0.3643, allocations: 3.688 kB / 0.6776 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3643, allocations: 0 / 0.6776 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.136e-05/0.3644, allocations: 1.375 kB / 0.6776 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.3644, allocations: 1.281 kB / 0.6776 GB, free: 14.79 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 8.577e-05/0.3645, allocations: 116 kB / 0.6777 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.3645, allocations: 8.828 kB / 0.6777 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.3646, allocations: 47.72 kB / 0.6777 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.3646, allocations: 1.375 kB / 0.6777 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3646, allocations: 0 / 0.6777 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3646, allocations: 3.984 kB / 0.6777 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.3648, allocations: 158.6 kB / 0.6779 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.3648, allocations: 0 / 0.6779 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.079e-05/0.3648, allocations: 8.25 kB / 0.6779 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.3648, allocations: 3.938 kB / 0.6779 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.3648, allocations: 9.047 kB / 0.6779 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3649, allocations: 0 / 0.6779 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3649, allocations: 0 / 0.6779 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.365, allocations: 70.94 kB / 0.678 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.189e-05/0.3651, allocations: 82.22 kB / 0.6781 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.3651, allocations: 4.938 kB / 0.6781 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.312e-05/0.3651, allocations: 1.156 kB / 0.6781 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.754e-05/0.3651, allocations: 9.188 kB / 0.6781 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.3651, allocations: 5.031 kB / 0.6781 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.496e-05/0.3652, allocations: 85.36 kB / 0.6782 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3652, allocations: 1.031 kB / 0.6782 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001867/0.3654, allocations: 6.25 kB / 0.6782 GB, free: 14.14 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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.0004509/0.3659, allocations: 0.6216 MB / 0.6788 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.173e-05/0.366, allocations: 13.19 kB / 0.6788 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.366, allocations: 0 / 0.6788 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.043e-05/0.366, allocations: 13.89 kB / 0.6788 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.3661, allocations: 1.188 kB / 0.6788 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.3672, allocations: 1.15 MB / 0.6799 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.3676, allocations: 0.682 MB / 0.6806 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.129e-05/0.3676, allocations: 2.094 kB / 0.6806 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.3676, allocations: 16.47 kB / 0.6806 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of SimCode: time 3.5e-07/0.3677, allocations: 1 kB / 0.6806 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.3908, allocations: 1.191 MB / 0.6818 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.576/7.967, allocations: 14.06 kB / 0.6818 GB, free: 10.95 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example5.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example5.pipe 2>&1)