Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",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.004213/0.004213, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001221/0.001221, allocations: 197.5 kB / 16.68 MB, free: 5.977 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.9988/0.9988, allocations: 143.3 MB / 433.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 71.89 kB / 0.5953 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3426, allocations: 82.02 MB / 0.6754 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.191/0.5336, allocations: 171 MB / 0.8424 GB, free: 10.52 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.006982/0.5406, allocations: 4.302 MB / 0.8466 GB, free: 6.207 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005741/0.5412, allocations: 23.88 kB / 0.8466 GB, free: 6.184 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.5423, allocations: 350 kB / 0.847 GB, free: 5.84 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002286/0.5446, allocations: 0.9993 MB / 0.848 GB, free: 4.836 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002004/0.5466, allocations: 0.8137 MB / 0.8488 GB, free: 4.027 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00163/0.5483, allocations: 1.298 MB / 0.85 GB, free: 2.727 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006746/0.5489, allocations: 483.3 kB / 0.8505 GB, free: 2.25 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/0.5502, allocations: 0.6654 MB / 0.8511 GB, free: 1.582 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.5513, allocations: 453.1 kB / 0.8516 GB, free: 1.141 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 9.867e-05/0.5514, allocations: 52 kB / 0.8516 GB, free: 1.09 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.5531, allocations: 0.9121 MB / 0.8525 GB, free: 180 kB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002585/0.5534, allocations: 219.5 kB / 0.8527 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003686/0.5538, allocations: 326.5 kB / 0.853 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001629/0.5554, allocations: 1.161 MB / 0.8542 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5554, allocations: 0 / 0.8542 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5554, allocations: 0 / 0.8542 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.5554, allocations: 0 / 0.8542 GB, free: 14.48 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001689/0.5571, allocations: 0.9805 MB / 0.8551 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.5572, allocations: 8.031 kB / 0.8551 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001112/0.5573, allocations: 78.53 kB / 0.8552 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001679/0.559, allocations: 271.3 kB / 0.8555 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008844/0.5599, allocations: 0.4977 MB / 0.8559 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.947e-05/0.5599, allocations: 33 kB / 0.856 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.799e-05/0.56, allocations: 40 kB / 0.856 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.5613, allocations: 0.6146 MB / 0.8566 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.5613, allocations: 0 / 0.8566 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.536e-05/0.5614, allocations: 16 kB / 0.8566 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.341e-05/0.5614, allocations: 21 kB / 0.8566 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.5629, allocations: 0.5503 MB / 0.8572 GB, free: 11.25 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004038/0.567, allocations: 2.273 MB / 0.8594 GB, free: 8.844 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009914/0.568, allocations: 278.3 kB / 0.8597 GB, free: 8.562 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005879/0.5686, allocations: 172.7 kB / 0.8598 GB, free: 8.391 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.5686, allocations: 0 / 0.8598 GB, free: 8.391 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.5687, allocations: 46.5 kB / 0.8599 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.5687, allocations: 0 / 0.8599 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of matching and sorting (n=11): time 0.005326/0.574, allocations: 1.084 MB / 0.8609 GB, free: 7.223 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/0.5741, allocations: 81.11 kB / 0.861 GB, free: 7.125 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006834/0.5748, allocations: 0.5573 MB / 0.8616 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.5748, allocations: 25.7 kB / 0.8616 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.5751, allocations: 304.1 kB / 0.8619 GB, free: 6.227 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.853e-05/0.5751, allocations: 47.62 kB / 0.8619 GB, free: 6.18 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.5753, allocations: 65.64 kB / 0.862 GB, free: 6.109 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.5754, allocations: 354.8 kB / 0.8623 GB, free: 5.754 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00065/0.5761, allocations: 191.8 kB / 0.8625 GB, free: 5.566 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006974/0.5768, allocations: 263.3 kB / 0.8628 GB, free: 5.277 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.578, allocations: 411.4 kB / 0.8631 GB, free: 4.848 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.578, allocations: 0 / 0.8631 GB, free: 4.848 MB / 0.6856 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002781/0.5808, allocations: 0.7241 MB / 0.8639 GB, free: 4.113 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.5809, allocations: 8 kB / 0.8639 GB, free: 4.105 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.5809, allocations: 0 / 0.8639 GB, free: 4.105 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006556/0.5815, allocations: 196.7 kB / 0.864 GB, free: 3.91 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/0.5819, allocations: 63.94 kB / 0.8641 GB, free: 3.848 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004233/0.5862, allocations: 2.239 MB / 0.8663 GB, free: 1.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006377/0.5868, allocations: 79.64 kB / 0.8664 GB, free: 1.402 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.5869, allocations: 12 kB / 0.8664 GB, free: 1.391 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002751/0.5871, allocations: 181.8 kB / 0.8666 GB, free: 1.203 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.5873, allocations: 59.59 kB / 0.8666 GB, free: 1.145 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.5874, allocations: 59.97 kB / 0.8667 GB, free: 1.086 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.5874, allocations: 0 / 0.8667 GB, free: 1.086 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5874, allocations: 0 / 0.8667 GB, free: 1.086 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.5874, allocations: 3.938 kB / 0.8667 GB, free: 1.082 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3105/0.8979, allocations: 1.13 MB / 0.8678 GB, free: 187.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.8979, allocations: 0.9688 kB / 0.8678 GB, free: 187.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.8982, allocations: 43.36 kB / 0.8678 GB, free: 187.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000578/0.8988, allocations: 179.5 kB / 0.868 GB, free: 187.6 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.8988, allocations: 4.156 kB / 0.868 GB, free: 187.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003461/0.9023, allocations: 2.189 MB / 0.8701 GB, free: 186.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.9023, allocations: 1.844 kB / 0.8701 GB, free: 186.3 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003876/0.9062, allocations: 0.7054 MB / 0.8708 GB, free: 186.1 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003338/0.9066, allocations: 174.8 kB / 0.871 GB, free: 186 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.9067, allocations: 1.531 kB / 0.871 GB, free: 186 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008973/0.9076, allocations: 56.22 kB / 0.871 GB, free: 186 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.809e-05/0.9077, allocations: 9.109 kB / 0.8711 GB, free: 186 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.607e-05/0.9078, allocations: 18.95 kB / 0.8711 GB, free: 186 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006901/0.9085, allocations: 396.2 kB / 0.8715 GB, free: 185.8 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2e-07/0.9085, allocations: 0 / 0.8715 GB, free: 185.8 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001018/0.9095, allocations: 179.8 kB / 0.8716 GB, free: 185.8 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004284/0.9138, allocations: 1.316 MB / 0.8729 GB, free: 185 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002363/0.9162, allocations: 0.5243 MB / 0.8734 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.9162, allocations: 0.9375 kB / 0.8734 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.9173, allocations: 302.7 kB / 0.8737 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/0.9196, allocations: 303.3 kB / 0.874 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01769/0.9373, allocations: 5.083 MB / 0.879 GB, free: 182.1 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/0.9378, allocations: 0.8606 MB / 0.8798 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000758/0.9386, allocations: 112.1 kB / 0.8799 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003032/0.9389, allocations: 161.5 kB / 0.8801 GB, free: 181.3 MB / 0.6856 GB Notification: Performance of SimCode: time 6.11e-07/0.9389, allocations: 0 / 0.8801 GB, free: 181.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04419/0.9831, allocations: 16.93 MB / 0.8966 GB, free: 172.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/13.19, allocations: 12.88 kB / 0.8966 GB, free: 172.2 MB / 0.6856 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)