Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",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.001097/0.001097, allocations: 104.5 kB / 16.27 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.001018/0.001018, allocations: 191.6 kB / 17.2 MB, free: 5.684 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.317/1.317, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7377/0.7377, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 59.89 kB / 0.4912 GB, free: 7.371 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3118, allocations: 77.93 MB / 0.5673 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1661/0.4779, allocations: 171 MB / 0.7343 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006321/0.4843, allocations: 4.288 MB / 0.7385 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009313/0.4852, allocations: 19.88 kB / 0.7385 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001208/0.4865, allocations: 365.9 kB / 0.7389 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003004/0.4896, allocations: 1.217 MB / 0.7401 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.4916, allocations: 0.7923 MB / 0.7408 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001906/0.4935, allocations: 1.691 MB / 0.7425 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007983/0.4943, allocations: 0.562 MB / 0.743 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.4955, allocations: 0.6771 MB / 0.7437 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.4966, allocations: 0.5538 MB / 0.7442 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001708/0.4968, allocations: 68 kB / 0.7443 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001531/0.4983, allocations: 0.799 MB / 0.7451 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003021/0.4987, allocations: 267.3 kB / 0.7453 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005292/0.4992, allocations: 414.2 kB / 0.7457 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001706/0.5009, allocations: 1.247 MB / 0.7469 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5009, allocations: 0 / 0.7469 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.505e-06/0.5009, allocations: 7.938 kB / 0.7469 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.117e-05/0.501, allocations: 0 / 0.7469 GB, free: 2.223 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001848/0.5028, allocations: 1.033 MB / 0.748 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.5029, allocations: 12.62 kB / 0.748 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001311/0.503, allocations: 106.5 kB / 0.7481 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.504, allocations: 155.1 kB / 0.7482 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007598/0.5048, allocations: 0.521 MB / 0.7487 GB, free: 304 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.5049, allocations: 37.31 kB / 0.7488 GB, free: 268 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.407e-05/0.5049, allocations: 48 kB / 0.7488 GB, free: 220 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2426/0.7476, allocations: 0.6609 MB / 0.7495 GB, free: 173 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.7476, allocations: 0.6875 kB / 0.7495 GB, free: 173 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.753e-05/0.7477, allocations: 26.41 kB / 0.7495 GB, free: 173 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-05/0.7478, allocations: 26.8 kB / 0.7495 GB, free: 173 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.7488, allocations: 0.5123 MB / 0.75 GB, free: 172.8 MB / 0.5762 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.003349/0.7522, allocations: 2.322 MB / 0.7523 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005052/0.7527, allocations: 253 kB / 0.7525 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/0.753, allocations: 137.9 kB / 0.7526 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.753, allocations: 4.266 kB / 0.7527 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.753, allocations: 38.03 kB / 0.7527 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=20): time 2.204e-06/0.753, allocations: 0.5938 kB / 0.7527 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20): time 0.001678/0.7547, allocations: 0.6703 MB / 0.7533 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.7548, allocations: 81.11 kB / 0.7534 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006551/0.7554, allocations: 0.5584 MB / 0.754 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.7555, allocations: 32.58 kB / 0.754 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.7557, allocations: 331.6 kB / 0.7543 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.87e-05/0.7557, allocations: 76.12 kB / 0.7544 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.7558, allocations: 69.72 kB / 0.7545 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.914e-05/0.7559, allocations: 362.8 kB / 0.7548 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/0.7562, allocations: 139 kB / 0.7549 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003127/0.7565, allocations: 217.9 kB / 0.7551 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005179/0.7571, allocations: 332.6 kB / 0.7555 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.7571, allocations: 0.625 kB / 0.7555 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009272/0.758, allocations: 0.492 MB / 0.7559 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.758, allocations: 7.016 kB / 0.7559 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.7581, allocations: 2.844 kB / 0.7559 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000324/0.7584, allocations: 93.64 kB / 0.756 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003628/0.7588, allocations: 76.39 kB / 0.7561 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002489/0.7613, allocations: 3.337 MB / 0.7594 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004885/0.7618, allocations: 49.5 kB / 0.7594 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.7618, allocations: 21.88 kB / 0.7594 GB, free: 166.1 MB / 0.5762 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002384/0.762, allocations: 216.1 kB / 0.7596 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.72e-05/0.7621, allocations: 56.97 kB / 0.7597 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.594e-05/0.7622, allocations: 56.78 kB / 0.7597 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.7622, allocations: 2.938 kB / 0.7598 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.7622, allocations: 2.844 kB / 0.7598 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006311/0.7629, allocations: 0.5372 MB / 0.7603 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.7641, allocations: 0.9097 MB / 0.7612 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.7641, allocations: 1.938 kB / 0.7612 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.7643, allocations: 43.92 kB / 0.7612 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001958/0.7645, allocations: 67.36 kB / 0.7613 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.7646, allocations: 6.969 kB / 0.7613 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001305/0.7659, allocations: 1.828 MB / 0.7631 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.7659, allocations: 0.8438 kB / 0.7631 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005779/0.7665, allocations: 438.7 kB / 0.7635 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.7667, allocations: 166.3 kB / 0.7636 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.307e-05/0.7667, allocations: 6.312 kB / 0.7637 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000439/0.7672, allocations: 23.48 kB / 0.7637 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.939e-05/0.7673, allocations: 20.98 kB / 0.7637 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.045e-05/0.7673, allocations: 16.19 kB / 0.7637 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004545/0.7678, allocations: 396.5 kB / 0.7641 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7678, allocations: 1.375 kB / 0.7641 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006524/0.7684, allocations: 206.1 kB / 0.7643 GB, free: 162.7 MB / 0.5762 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 (15): * Single equations (assignments): 14 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009582/0.7694, allocations: 1.029 MB / 0.7653 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008459/0.7703, allocations: 0.5516 MB / 0.7658 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.7703, allocations: 3.531 kB / 0.7658 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003223/0.7706, allocations: 260.4 kB / 0.7661 GB, free: 161.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001633/0.7722, allocations: 368.9 kB / 0.7664 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005149/0.7774, allocations: 4.544 MB / 0.7709 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.7778, allocations: 0.9059 MB / 0.7718 GB, free: 158 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005619/0.7783, allocations: 107.1 kB / 0.7719 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002071/0.7785, allocations: 194.4 kB / 0.772 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of SimCode: time 7.61e-07/0.7785, allocations: 0 / 0.772 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03791/0.8165, allocations: 17.64 MB / 0.7893 GB, free: 146.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.47, allocations: 0 / 0.7893 GB, free: 146.3 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)