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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.839/0.839, allocations: 141.8 MB / 149.3 MB, free: 9.223 MB / 122.7 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: 180.9 kB / 182.2 MB, free: 9.453 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 221.5 MB / 436.4 MB, free: 13.35 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009383/0.0009386, allocations: 88.05 kB / 0.5074 GB, free: 10.19 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001747/0.001746, allocations: 282.4 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.794e-05/1.796e-05, allocations: 4 kB / 0.6766 GB, free: 12.76 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4353/0.4354, allocations: 82.78 MB / 0.7575 GB, free: 31.94 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8332/1.269, allocations: 369.4 MB / 1.118 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/1.269, allocations: 81.2 kB / 1.118 GB, free: 11.92 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 2.879/4.148, allocations: 0.6689 GB / 1.787 GB, free: 129 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.896e-06/4.148, allocations: 2.156 kB / 1.787 GB, free: 129 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000153/4.148, allocations: 42.89 kB / 1.787 GB, free: 129 MB / 0.698 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.003247/4.151, allocations: 1.431 MB / 1.789 GB, free: 128.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.329e-05/4.151, allocations: 10.25 kB / 1.789 GB, free: 128.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000684/4.152, allocations: 203 kB / 1.789 GB, free: 128.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05044/4.202, allocations: 23.34 MB / 1.812 GB, free: 127.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004034/4.203, allocations: 99.75 kB / 1.812 GB, free: 127.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/4.203, allocations: 55.67 kB / 1.812 GB, free: 127.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001141/4.204, allocations: 442.9 kB / 1.812 GB, free: 127.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/4.206, allocations: 0.8123 MB / 1.813 GB, free: 126.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/4.206, allocations: 6.406 kB / 1.813 GB, free: 126.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.16e-05/4.206, allocations: 3.625 kB / 1.813 GB, free: 126.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.747e-05/4.206, allocations: 23.86 kB / 1.813 GB, free: 126.9 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.006985/4.213, allocations: 4.162 MB / 1.817 GB, free: 124.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006477/4.214, allocations: 256.6 kB / 1.817 GB, free: 124.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/4.214, allocations: 140.2 kB / 1.817 GB, free: 124.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/4.215, allocations: 1.151 MB / 1.819 GB, free: 123 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/4.215, allocations: 38.56 kB / 1.819 GB, free: 122.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=29): time 3.537e-06/4.215, allocations: 0 / 1.819 GB, free: 122.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=29): time 0.00165/4.217, allocations: 460.7 kB / 1.819 GB, free: 122.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/4.217, allocations: 55.34 kB / 1.819 GB, free: 122.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/4.218, allocations: 0.6521 MB / 1.82 GB, free: 122.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.151e-05/4.218, allocations: 31.83 kB / 1.82 GB, free: 122.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005083/4.218, allocations: 0.5774 MB / 1.82 GB, free: 122.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/4.218, allocations: 96.02 kB / 1.82 GB, free: 122.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.199e-05/4.219, allocations: 3.812 kB / 1.82 GB, free: 122.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001524/4.219, allocations: 324 kB / 1.821 GB, free: 121.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/4.219, allocations: 106.9 kB / 1.821 GB, free: 121.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003685/4.219, allocations: 306.3 kB / 1.821 GB, free: 121.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005661/4.22, allocations: 193.8 kB / 1.821 GB, free: 121.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/4.22, allocations: 0 / 1.821 GB, free: 121.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001325/4.221, allocations: 0.5749 MB / 1.822 GB, free: 121.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/4.221, allocations: 7.125 kB / 1.822 GB, free: 121.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/4.221, allocations: 3.812 kB / 1.822 GB, free: 121.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004874/4.222, allocations: 123.2 kB / 1.822 GB, free: 121.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004809/4.222, allocations: 120.9 kB / 1.822 GB, free: 121.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009653/4.223, allocations: 1.707 MB / 1.824 GB, free: 120 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008118/4.224, allocations: 90.64 kB / 1.824 GB, free: 120 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.356e-05/4.224, allocations: 35.45 kB / 1.824 GB, free: 120 MB / 0.698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volQflow.heatPort.Q_flow:VARIABLE(flow=true unit = "W" ) "Heat flow rate (positive if flowing from outside into the component)" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001879/4.224, allocations: 120.5 kB / 1.824 GB, free: 119.9 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009681/4.225, allocations: 457.7 kB / 1.824 GB, free: 119.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/4.225, allocations: 93.16 kB / 1.825 GB, free: 119.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/4.227, allocations: 0.5617 MB / 1.825 GB, free: 119.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/4.227, allocations: 12.11 kB / 1.825 GB, free: 119.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/4.227, allocations: 0 / 1.825 GB, free: 119.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/4.227, allocations: 6.422 kB / 1.825 GB, free: 119.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002582/4.229, allocations: 1.335 MB / 1.826 GB, free: 119.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/4.229, allocations: 0 / 1.826 GB, free: 119.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003779/4.23, allocations: 85 kB / 1.826 GB, free: 119.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004111/4.23, allocations: 119.5 kB / 1.827 GB, free: 119.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/4.23, allocations: 7.172 kB / 1.827 GB, free: 119.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001052/4.231, allocations: 1.693 MB / 1.828 GB, free: 117.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/4.231, allocations: 14.11 kB / 1.828 GB, free: 117.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/4.233, allocations: 0.7219 MB / 1.829 GB, free: 117.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004624/4.233, allocations: 236.1 kB / 1.829 GB, free: 117.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001837/4.233, allocations: 3.875 kB / 1.829 GB, free: 117.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007744/4.234, allocations: 82.59 kB / 1.829 GB, free: 117.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/4.234, allocations: 29.17 kB / 1.829 GB, free: 117.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.719e-05/4.234, allocations: 19.89 kB / 1.829 GB, free: 117.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000874/4.235, allocations: 0.4945 MB / 1.83 GB, free: 117.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.144e-06/4.235, allocations: 0 / 1.83 GB, free: 117.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001638/4.237, allocations: 403.7 kB / 1.83 GB, free: 117 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 2,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002859/4.24, allocations: 2.196 MB / 1.832 GB, free: 115.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008151/4.24, allocations: 362.9 kB / 1.833 GB, free: 115.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/4.24, allocations: 7.344 kB / 1.833 GB, free: 115.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003631/4.241, allocations: 199.1 kB / 1.833 GB, free: 115.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002065/4.243, allocations: 414.4 kB / 1.833 GB, free: 115.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003662/4.247, allocations: 1.471 MB / 1.835 GB, free: 115.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008479/4.247, allocations: 1.121 MB / 1.836 GB, free: 114.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008215/4.248, allocations: 155.5 kB / 1.836 GB, free: 114.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005428/4.249, allocations: 405.6 kB / 1.836 GB, free: 114.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.282e-06/4.249, allocations: 0 / 1.836 GB, free: 114.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0642/4.313, allocations: 25.94 MB / 1.862 GB, free: 112 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/4.313, allocations: 198.9 kB / 1.862 GB, free: 111.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.235/7.548, allocations: 0 / 1.862 GB, free: 111.8 MB / 0.698 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/linux/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)