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.001419/0.00142, allocations: 108.6 kB / 16.41 MB, free: 6.504 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.001484/0.001484, allocations: 191.9 kB / 17.34 MB, free: 5.758 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 / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8414/0.8414, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 67.83 kB / 0.5735 GB, free: 27.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1555, allocations: 78.86 MB / 0.6505 GB, free: 3.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.563/0.7186, allocations: 171.1 MB / 0.8176 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005853/0.7245, allocations: 4.298 MB / 0.8218 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007327/0.7252, allocations: 23 kB / 0.8218 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009793/0.7263, allocations: 351.4 kB / 0.8222 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002845/0.7291, allocations: 1.228 MB / 0.8234 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001911/0.731, allocations: 0.7846 MB / 0.8241 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00197/0.733, allocations: 1.694 MB / 0.8258 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007441/0.7338, allocations: 0.5583 MB / 0.8263 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001291/0.7351, allocations: 0.7465 MB / 0.8271 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.7363, allocations: 0.5425 MB / 0.8276 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.326e-05/0.7364, allocations: 66 kB / 0.8276 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001544/0.7379, allocations: 0.7985 MB / 0.8284 GB, free: 5.445 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000273/0.7382, allocations: 274.1 kB / 0.8287 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004172/0.7386, allocations: 406.1 kB / 0.8291 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001658/0.7403, allocations: 1.273 MB / 0.8303 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.7403, allocations: 6.594 kB / 0.8303 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7403, allocations: 0 / 0.8303 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.859e-06/0.7403, allocations: 0 / 0.8303 GB, free: 4.246 MB / 0.5919 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.001702/0.742, allocations: 1.058 MB / 0.8314 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.7421, allocations: 10.69 kB / 0.8314 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001186/0.7422, allocations: 99.08 kB / 0.8315 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009495/0.7432, allocations: 159.4 kB / 0.8316 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007896/0.744, allocations: 0.5599 MB / 0.8322 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.46e-05/0.744, allocations: 38.38 kB / 0.8322 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.406e-05/0.7441, allocations: 51.28 kB / 0.8322 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.7452, allocations: 0.646 MB / 0.8329 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.7452, allocations: 0 / 0.8329 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.549e-05/0.7452, allocations: 23.41 kB / 0.8329 GB, free: 2.359 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.559e-05/0.7453, allocations: 25.5 kB / 0.8329 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008803/0.7462, allocations: 0.5133 MB / 0.8334 GB, free: 2.102 MB / 0.5919 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.003174/0.7494, allocations: 2.296 MB / 0.8357 GB, free: 232 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005138/0.7499, allocations: 261.1 kB / 0.8359 GB, free: 92 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002457/0.7501, allocations: 140.6 kB / 0.836 GB, free: 16 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.7502, allocations: 3.156 kB / 0.8361 GB, free: 16 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.413e-05/0.7502, allocations: 43.48 kB / 0.8361 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.7503, allocations: 3.938 kB / 0.8361 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20): time 0.001844/0.7521, allocations: 0.6718 MB / 0.8368 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.29e-05/0.7522, allocations: 80.05 kB / 0.8368 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000734/0.7529, allocations: 0.5617 MB / 0.8374 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.007e-05/0.753, allocations: 32.27 kB / 0.8374 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002997/0.7533, allocations: 337.9 kB / 0.8377 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.551e-05/0.7534, allocations: 75.64 kB / 0.8378 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.7535, allocations: 73.39 kB / 0.8379 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001886/0.7537, allocations: 357.1 kB / 0.8382 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/0.754, allocations: 132.6 kB / 0.8383 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003457/0.7544, allocations: 214.5 kB / 0.8385 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005733/0.7549, allocations: 336.5 kB / 0.8389 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.755, allocations: 2.031 kB / 0.8389 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000895/0.7559, allocations: 0.4906 MB / 0.8393 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.7559, allocations: 4.312 kB / 0.8394 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.7559, allocations: 5.906 kB / 0.8394 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003247/0.7562, allocations: 97.2 kB / 0.8394 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003014/0.7565, allocations: 73.06 kB / 0.8395 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003249/0.7598, allocations: 3.348 MB / 0.8428 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005138/0.7603, allocations: 50.86 kB / 0.8428 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.7604, allocations: 13.84 kB / 0.8428 GB, free: 10.23 MB / 0.6075 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.0003133/0.7607, allocations: 219 kB / 0.8431 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.737e-05/0.7608, allocations: 58.42 kB / 0.8431 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.516e-05/0.7609, allocations: 55.5 kB / 0.8432 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.7609, allocations: 8.594 kB / 0.8432 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.7609, allocations: 0 / 0.8432 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007316/0.7616, allocations: 0.5269 MB / 0.8437 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.7629, allocations: 0.9202 MB / 0.8446 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.7629, allocations: 2.406 kB / 0.8446 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/0.7631, allocations: 41.97 kB / 0.8446 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002073/0.7634, allocations: 65.25 kB / 0.8447 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.7634, allocations: 10.84 kB / 0.8447 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001718/0.7651, allocations: 1.822 MB / 0.8465 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.7651, allocations: 2.438 kB / 0.8465 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006567/0.7658, allocations: 437.1 kB / 0.8469 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002327/0.766, allocations: 170.9 kB / 0.8471 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.944e-05/0.7661, allocations: 10.08 kB / 0.8471 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00042/0.7665, allocations: 23.17 kB / 0.8471 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.246e-05/0.7666, allocations: 26.06 kB / 0.8471 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.392e-05/0.7667, allocations: 14.86 kB / 0.8471 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004681/0.7671, allocations: 402.2 kB / 0.8475 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7671, allocations: 0 / 0.8475 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006292/0.7678, allocations: 205.2 kB / 0.8477 GB, free: 6.273 MB / 0.6075 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.001209/0.769, allocations: 1.028 MB / 0.8487 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009093/0.7699, allocations: 0.5315 MB / 0.8492 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.7699, allocations: 6.406 kB / 0.8492 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003549/0.7703, allocations: 258.9 kB / 0.8495 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/0.7719, allocations: 366.3 kB / 0.8498 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005979/0.7779, allocations: 4.475 MB / 0.8542 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005514/0.7785, allocations: 0.9131 MB / 0.8551 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004323/0.7789, allocations: 108.8 kB / 0.8552 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/0.7792, allocations: 195.4 kB / 0.8554 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of SimCode: time 5.11e-07/0.7792, allocations: 0 / 0.8554 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04971/0.8289, allocations: 17.8 MB / 0.8728 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/13.17, allocations: 4.594 kB / 0.8728 GB, free: 13.9 MB / 0.6387 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)