Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="BuildingSystems_BuildingSystems_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.001483/0.001483, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 198.1 kB / 16.54 MB, free: 6.672 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.274/1.274, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002024/0.002024, allocations: 290.7 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8983/0.8983, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 96.2 kB / 0.5953 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1347, allocations: 86.99 MB / 0.6803 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04538/0.1801, allocations: 49.75 MB / 0.7289 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01628/0.1964, allocations: 12.68 MB / 0.7412 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001895/0.1984, allocations: 79.56 kB / 0.7413 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001816/0.2002, allocations: 0.7604 MB / 0.7421 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004067/0.2043, allocations: 1.841 MB / 0.7439 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002973/0.2073, allocations: 1.334 MB / 0.7452 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003516/0.2108, allocations: 3.249 MB / 0.7483 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001604/0.2124, allocations: 1.254 MB / 0.7496 GB, free: 9.398 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002661/0.2151, allocations: 1.293 MB / 0.7508 GB, free: 8.113 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001251/0.2164, allocations: 0.9291 MB / 0.7517 GB, free: 7.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002254/0.2166, allocations: 100 kB / 0.7518 GB, free: 7.082 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/0.2186, allocations: 1.064 MB / 0.7529 GB, free: 6.016 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003187/0.2189, allocations: 286.8 kB / 0.7531 GB, free: 5.734 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000773/0.2197, allocations: 0.6722 MB / 0.7538 GB, free: 5.059 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002336/0.222, allocations: 1.943 MB / 0.7557 GB, free: 3.109 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2221, allocations: 0 / 0.7557 GB, free: 3.109 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2221, allocations: 0 / 0.7557 GB, free: 3.109 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.79e-05/0.2221, allocations: 4 kB / 0.7557 GB, free: 3.105 MB / 0.545 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.002579/0.2247, allocations: 1.702 MB / 0.7574 GB, free: 1.352 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.2247, allocations: 11.97 kB / 0.7574 GB, free: 1.34 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001678/0.2249, allocations: 135.4 kB / 0.7575 GB, free: 1.199 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006052/0.2255, allocations: 207.1 kB / 0.7577 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/0.2272, allocations: 1.022 MB / 0.7587 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003554/0.2276, allocations: 130.1 kB / 0.7588 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.15e-05/0.2277, allocations: 84 kB / 0.7589 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/0.2292, allocations: 1.011 MB / 0.7599 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.2293, allocations: 3.938 kB / 0.7599 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.268e-05/0.2294, allocations: 43.98 kB / 0.7599 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.2294, allocations: 20 kB / 0.76 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.2308, allocations: 0.6555 MB / 0.7606 GB, free: 13.89 MB / 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.004412/0.2353, allocations: 4.763 MB / 0.7652 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.2364, allocations: 414.1 kB / 0.7656 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005335/0.237, allocations: 224.7 kB / 0.7659 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000754/0.2378, allocations: 1.152 MB / 0.767 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.2378, allocations: 38.5 kB / 0.767 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 1.763e-06/0.2378, allocations: 0 / 0.767 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002757/0.2406, allocations: 1.084 MB / 0.7681 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.2406, allocations: 59.41 kB / 0.7681 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.2416, allocations: 0.9792 MB / 0.7691 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.2417, allocations: 37.7 kB / 0.7691 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003731/0.242, allocations: 0.5811 MB / 0.7697 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.322e-05/0.2421, allocations: 114.5 kB / 0.7698 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.2423, allocations: 106.1 kB / 0.7699 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.32e-05/0.2424, allocations: 330 kB / 0.7702 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005523/0.2429, allocations: 201 kB / 0.7704 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006749/0.2436, allocations: 411.3 kB / 0.7708 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.2448, allocations: 0.6228 MB / 0.7714 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.2449, allocations: 4 kB / 0.7714 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001599/0.2465, allocations: 0.7644 MB / 0.7722 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.2465, allocations: 8 kB / 0.7722 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.2465, allocations: 4 kB / 0.7722 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006271/0.2471, allocations: 162.5 kB / 0.7723 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005881/0.2477, allocations: 143.8 kB / 0.7725 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2218/0.4695, allocations: 1.714 MB / 0.7741 GB, free: 94.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008669/0.4704, allocations: 89.77 kB / 0.7742 GB, free: 94.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.085e-05/0.4705, allocations: 29.77 kB / 0.7743 GB, free: 94.02 MB / 0.5606 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.000386/0.4709, allocations: 272.1 kB / 0.7745 GB, free: 93.91 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.4711, allocations: 109.7 kB / 0.7746 GB, free: 93.91 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001809/0.4729, allocations: 0.7367 MB / 0.7753 GB, free: 93.82 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.4729, allocations: 7.922 kB / 0.7753 GB, free: 93.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.4729, allocations: 3.469 kB / 0.7753 GB, free: 93.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.473, allocations: 6.312 kB / 0.7754 GB, free: 93.82 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002566/0.4755, allocations: 1.64 MB / 0.777 GB, free: 93.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.4755, allocations: 2.062 kB / 0.777 GB, free: 93.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004782/0.476, allocations: 89.47 kB / 0.777 GB, free: 93.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000521/0.4766, allocations: 152.8 kB / 0.7772 GB, free: 93.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.4766, allocations: 10.38 kB / 0.7772 GB, free: 93.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006299/0.4772, allocations: 1.711 MB / 0.7789 GB, free: 91.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4772, allocations: 1.656 kB / 0.7789 GB, free: 91.78 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.4787, allocations: 0.7917 MB / 0.7796 GB, free: 91.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002408/0.4789, allocations: 241.7 kB / 0.7799 GB, free: 91.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.4791, allocations: 12.3 kB / 0.7799 GB, free: 91.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000568/0.4796, allocations: 48.78 kB / 0.7799 GB, free: 91.24 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.615e-05/0.4797, allocations: 31.06 kB / 0.78 GB, free: 91.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-05/0.4797, allocations: 23.83 kB / 0.78 GB, free: 91.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006756/0.4804, allocations: 0.662 MB / 0.7806 GB, free: 90.96 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4804, allocations: 0 / 0.7806 GB, free: 90.96 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008502/0.4813, allocations: 370.8 kB / 0.781 GB, free: 90.91 MB / 0.5606 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.002109/0.4834, allocations: 1.654 MB / 0.7826 GB, free: 89.96 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001504/0.4849, allocations: 0.5727 MB / 0.7832 GB, free: 89.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4849, allocations: 3.375 kB / 0.7832 GB, free: 89.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007682/0.4857, allocations: 301.9 kB / 0.7835 GB, free: 89.75 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002063/0.4878, allocations: 0.5307 MB / 0.784 GB, free: 89.64 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0087/0.4965, allocations: 7.726 MB / 0.7915 GB, free: 85.24 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/0.497, allocations: 1.105 MB / 0.7926 GB, free: 84.51 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005827/0.4976, allocations: 194.6 kB / 0.7928 GB, free: 84.47 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000366/0.4979, allocations: 418.8 kB / 0.7932 GB, free: 84.15 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.4979, allocations: 0.5312 kB / 0.7932 GB, free: 84.15 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0464/0.5444, allocations: 29.31 MB / 0.8218 GB, free: 68.01 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11.18, allocations: 11.44 kB / 0.8218 GB, free: 68 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)