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.0008177/0.0008177, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004729/0.004729, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.162/1.162, allocations: 223.2 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00158/0.00158, allocations: 267.1 kB / 291.7 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8326/0.8326, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.000361, allocations: 19.75 kB / 0.5988 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1182, allocations: 88.53 MB / 0.6852 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.03808/0.1564, allocations: 48.41 MB / 0.7325 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0134/0.1698, allocations: 12.6 MB / 0.7448 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008914/0.1707, allocations: 67.56 kB / 0.7449 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.1718, allocations: 0.6213 MB / 0.7455 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002737/0.1746, allocations: 1.688 MB / 0.7471 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00214/0.1767, allocations: 1.221 MB / 0.7483 GB, free: 14.22 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003259/0.18, allocations: 4.364 MB / 0.7526 GB, free: 9.848 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.181, allocations: 1.031 MB / 0.7536 GB, free: 8.785 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001231/0.1823, allocations: 1.077 MB / 0.7546 GB, free: 7.703 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007804/0.1831, allocations: 0.9017 MB / 0.7555 GB, free: 6.797 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.537e-05/0.1832, allocations: 40 kB / 0.7556 GB, free: 6.758 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00138/0.1845, allocations: 1.041 MB / 0.7566 GB, free: 5.715 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001802/0.1847, allocations: 222.9 kB / 0.7568 GB, free: 5.496 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004394/0.1852, allocations: 0.6154 MB / 0.7574 GB, free: 4.871 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001526/0.1867, allocations: 1.873 MB / 0.7592 GB, free: 2.992 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1867, allocations: 11.94 kB / 0.7592 GB, free: 2.98 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1867, allocations: 4 kB / 0.7592 GB, free: 2.977 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.1867, allocations: 0 / 0.7592 GB, free: 2.977 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.001742/0.1885, allocations: 1.472 MB / 0.7607 GB, free: 1.449 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.1885, allocations: 8.031 kB / 0.7607 GB, free: 1.441 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001239/0.1887, allocations: 135.4 kB / 0.7608 GB, free: 1.301 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004715/0.1891, allocations: 219.1 kB / 0.761 GB, free: 1.086 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2407/0.4299, allocations: 1.095 MB / 0.7621 GB, free: 19.24 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003649/0.4303, allocations: 132.1 kB / 0.7622 GB, free: 19.24 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.4304, allocations: 83.53 kB / 0.7623 GB, free: 19.24 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.4321, allocations: 1.006 MB / 0.7633 GB, free: 19.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.4321, allocations: 5.969 kB / 0.7633 GB, free: 19.02 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.424e-05/0.4322, allocations: 36.62 kB / 0.7633 GB, free: 19.02 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.4322, allocations: 25.88 kB / 0.7633 GB, free: 19.02 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001368/0.4336, allocations: 0.688 MB / 0.764 GB, free: 19.01 MB / 0.545 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.003935/0.4375, allocations: 4.442 MB / 0.7683 GB, free: 16.39 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.4386, allocations: 435 kB / 0.7688 GB, free: 16.35 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004992/0.4391, allocations: 237.1 kB / 0.769 GB, free: 16.34 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004939/0.4396, allocations: 1.155 MB / 0.7701 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.528e-05/0.4396, allocations: 33.28 kB / 0.7701 GB, free: 14.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=29): time 1.573e-06/0.4396, allocations: 0 / 0.7701 GB, free: 14.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=29): time 0.002461/0.4421, allocations: 1.161 MB / 0.7713 GB, free: 14.55 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.768e-05/0.4421, allocations: 55.03 kB / 0.7713 GB, free: 14.49 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009054/0.443, allocations: 0.9335 MB / 0.7722 GB, free: 14.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.4431, allocations: 32.64 kB / 0.7723 GB, free: 14.31 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002678/0.4434, allocations: 0.5827 MB / 0.7728 GB, free: 14.08 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.262e-05/0.4434, allocations: 108 kB / 0.7729 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-05/0.4435, allocations: 40.55 kB / 0.773 GB, free: 14 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.895e-05/0.4435, allocations: 325.2 kB / 0.7733 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005044/0.444, allocations: 213 kB / 0.7735 GB, free: 13.69 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005775/0.4446, allocations: 404.2 kB / 0.7739 GB, free: 13.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.4456, allocations: 0.6117 MB / 0.7745 GB, free: 13.26 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4457, allocations: 0 / 0.7745 GB, free: 13.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001354/0.447, allocations: 0.7692 MB / 0.7752 GB, free: 13.14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.447, allocations: 5.375 kB / 0.7752 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.4471, allocations: 6.781 kB / 0.7752 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005417/0.4476, allocations: 155.8 kB / 0.7754 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005465/0.4482, allocations: 160.5 kB / 0.7755 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006175/0.4488, allocations: 1.721 MB / 0.7772 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005949/0.4494, allocations: 117.2 kB / 0.7773 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/0.4494, allocations: 30.81 kB / 0.7774 GB, free: 11.51 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (48): * Single equations (assignments): 45 * 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.0002611/0.4497, allocations: 267.9 kB / 0.7776 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.739e-05/0.4498, allocations: 110.7 kB / 0.7777 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/0.4514, allocations: 0.7717 MB / 0.7785 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.4514, allocations: 4.078 kB / 0.7785 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.4514, allocations: 0 / 0.7785 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.4514, allocations: 2.062 kB / 0.7785 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002356/0.4538, allocations: 1.678 MB / 0.7801 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.4538, allocations: 3.734 kB / 0.7801 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004293/0.4542, allocations: 109.3 kB / 0.7802 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004562/0.4547, allocations: 154.3 kB / 0.7804 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.4547, allocations: 9.656 kB / 0.7804 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000574/0.4553, allocations: 1.708 MB / 0.7821 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.4553, allocations: 3.188 kB / 0.7821 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.4566, allocations: 0.8284 MB / 0.7829 GB, free: 8.938 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002252/0.4569, allocations: 242.5 kB / 0.7831 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.702e-05/0.457, allocations: 14.88 kB / 0.7831 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000599/0.4576, allocations: 90.73 kB / 0.7832 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.4576, allocations: 25 kB / 0.7832 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.579e-05/0.4577, allocations: 19.38 kB / 0.7832 GB, free: 8.773 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006166/0.4583, allocations: 0.6336 MB / 0.7839 GB, free: 8.664 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4583, allocations: 4.984 kB / 0.7839 GB, free: 8.66 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007061/0.459, allocations: 358.5 kB / 0.7842 GB, free: 8.617 MB / 0.545 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.001965/0.461, allocations: 1.66 MB / 0.7858 GB, free: 7.766 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001322/0.4623, allocations: 0.5688 MB / 0.7864 GB, free: 7.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4623, allocations: 0.5938 kB / 0.7864 GB, free: 7.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007381/0.4631, allocations: 315.2 kB / 0.7867 GB, free: 7.742 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/0.4654, allocations: 0.5033 MB / 0.7872 GB, free: 7.715 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.4756, allocations: 8.059 MB / 0.7951 GB, free: 20.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005596/0.4762, allocations: 1.104 MB / 0.7961 GB, free: 19.41 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005075/0.4767, allocations: 185.8 kB / 0.7963 GB, free: 19.36 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003571/0.4771, allocations: 417.4 kB / 0.7967 GB, free: 19.35 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.4771, allocations: 4 kB / 0.7967 GB, free: 19.35 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.625/5.102, allocations: 27.29 MB / 0.8234 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002467/5.102, allocations: 302.4 kB / 0.8236 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.718/8.82, allocations: 0 / 0.8236 GB, free: 8.512 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)