Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.Validation.MixingVolumeZeroFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",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.001341/0.001341, allocations: 107.4 kB / 16.41 MB, free: 6.496 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.001305/0.001305, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8018/0.8018, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 68.95 kB / 0.5735 GB, free: 27.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1346, allocations: 78.86 MB / 0.6506 GB, free: 3.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05619/0.1908, allocations: 49.88 MB / 0.6993 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02062/0.2115, allocations: 12.69 MB / 0.7117 GB, free: 4.785 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00254/0.2141, allocations: 79.5 kB / 0.7117 GB, free: 4.707 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00241/0.2165, allocations: 0.7565 MB / 0.7125 GB, free: 3.945 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005639/0.2222, allocations: 1.83 MB / 0.7143 GB, free: 2.109 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003867/0.2261, allocations: 1.36 MB / 0.7156 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005149/0.2312, allocations: 3.245 MB / 0.7188 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002057/0.2333, allocations: 1.254 MB / 0.72 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003913/0.2373, allocations: 1.471 MB / 0.7214 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001628/0.2389, allocations: 0.9213 MB / 0.7223 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002283/0.2392, allocations: 96 kB / 0.7224 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002456/0.2416, allocations: 1.057 MB / 0.7234 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003706/0.242, allocations: 294.8 kB / 0.7237 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009132/0.2429, allocations: 0.6761 MB / 0.7244 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003428/0.2464, allocations: 1.965 MB / 0.7263 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2464, allocations: 0 / 0.7263 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2464, allocations: 0 / 0.7263 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.163e-05/0.2464, allocations: 0 / 0.7263 GB, free: 5.742 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002883/0.2493, allocations: 1.752 MB / 0.728 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.2494, allocations: 12.02 kB / 0.728 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001705/0.2496, allocations: 139.4 kB / 0.7282 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006564/0.2502, allocations: 215.9 kB / 0.7284 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002145/0.2524, allocations: 1.108 MB / 0.7294 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.46e-05/0.2525, allocations: 66 kB / 0.7295 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.2526, allocations: 80 kB / 0.7296 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/0.2544, allocations: 1.007 MB / 0.7306 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.2545, allocations: 0 / 0.7306 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-05/0.2546, allocations: 40 kB / 0.7306 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.2546, allocations: 20 kB / 0.7306 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/0.2562, allocations: 0.6594 MB / 0.7313 GB, free: 464 kB / 0.5606 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.005923/0.2621, allocations: 4.726 MB / 0.7359 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.2633, allocations: 402.6 kB / 0.7363 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005507/0.2639, allocations: 220.7 kB / 0.7365 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001031/0.2649, allocations: 1.144 MB / 0.7376 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.2649, allocations: 34.56 kB / 0.7376 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=29): time 2.184e-06/0.265, allocations: 0 / 0.7376 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29): time 0.003068/0.268, allocations: 1.088 MB / 0.7387 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.2681, allocations: 55.41 kB / 0.7387 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/0.2695, allocations: 0.9793 MB / 0.7397 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.76e-05/0.2696, allocations: 29.7 kB / 0.7397 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005258/0.2701, allocations: 0.6017 MB / 0.7403 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.2702, allocations: 111 kB / 0.7404 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.2704, allocations: 110.2 kB / 0.7405 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.2706, allocations: 326 kB / 0.7408 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005747/0.2711, allocations: 201 kB / 0.741 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007631/0.2719, allocations: 410.3 kB / 0.7414 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/0.2732, allocations: 0.595 MB / 0.742 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.2732, allocations: 4 kB / 0.742 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001876/0.2751, allocations: 0.7647 MB / 0.7427 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/0.2752, allocations: 11.94 kB / 0.7428 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.2752, allocations: 4 kB / 0.7428 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006873/0.2759, allocations: 158.7 kB / 0.7429 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006191/0.2765, allocations: 147.8 kB / 0.7431 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/0.2778, allocations: 1.716 MB / 0.7447 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007189/0.2786, allocations: 87.67 kB / 0.7448 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.825e-05/0.2786, allocations: 31.98 kB / 0.7448 GB, free: 1.598 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000455/0.2791, allocations: 277.7 kB / 0.7451 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/0.2793, allocations: 115.2 kB / 0.7452 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00188/0.2812, allocations: 0.7233 MB / 0.7459 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.2812, allocations: 7.984 kB / 0.7459 GB, free: 460 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2812, allocations: 0 / 0.7459 GB, free: 460 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.2813, allocations: 192 / 0.7459 GB, free: 460 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2601/0.5413, allocations: 1.636 MB / 0.7475 GB, free: 93.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.5414, allocations: 1.719 kB / 0.7475 GB, free: 93.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005017/0.5419, allocations: 87.59 kB / 0.7476 GB, free: 93.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005734/0.5425, allocations: 155 kB / 0.7478 GB, free: 93.12 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/0.5425, allocations: 10.66 kB / 0.7478 GB, free: 93.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007441/0.5433, allocations: 1.713 MB / 0.7494 GB, free: 91.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.5433, allocations: 1.344 kB / 0.7494 GB, free: 91.58 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.5449, allocations: 0.7854 MB / 0.7502 GB, free: 91.26 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003512/0.5452, allocations: 254.5 kB / 0.7505 GB, free: 91.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.5454, allocations: 7.906 kB / 0.7505 GB, free: 91.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005603/0.5459, allocations: 47.33 kB / 0.7505 GB, free: 91.12 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.189e-05/0.546, allocations: 34.17 kB / 0.7505 GB, free: 91.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.761e-05/0.5461, allocations: 17.75 kB / 0.7506 GB, free: 91.11 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008455/0.5469, allocations: 0.6587 MB / 0.7512 GB, free: 90.84 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5469, allocations: 0 / 0.7512 GB, free: 90.84 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009704/0.5479, allocations: 379.1 kB / 0.7516 GB, free: 90.81 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002515/0.5504, allocations: 1.636 MB / 0.7532 GB, free: 89.85 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001667/0.5521, allocations: 0.5448 MB / 0.7537 GB, free: 89.71 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.5521, allocations: 2.469 kB / 0.7537 GB, free: 89.71 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000826/0.553, allocations: 297.3 kB / 0.754 GB, free: 89.64 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002438/0.5554, allocations: 0.5242 MB / 0.7545 GB, free: 89.54 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/0.5668, allocations: 7.306 MB / 0.7616 GB, free: 85.73 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006219/0.5674, allocations: 1.104 MB / 0.7627 GB, free: 85 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008467/0.5683, allocations: 189.2 kB / 0.7629 GB, free: 84.96 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004171/0.5687, allocations: 418.6 kB / 0.7633 GB, free: 84.64 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.5687, allocations: 0 / 0.7633 GB, free: 84.64 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05553/0.6243, allocations: 29.52 MB / 0.7921 GB, free: 65.08 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.7, allocations: 9.984 kB / 0.7921 GB, free: 65.07 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)