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.6891/0.6891, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009183/0.0009183, allocations: 181.9 kB / 187.3 MB, free: 11.89 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.249/1.249, allocations: 221.3 MB / 441.4 MB, free: 4.605 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.0008398/0.0008397, allocations: 100.1 kB / 0.5124 GB, free: 24.26 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001655/0.001655, allocations: 280.3 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.624e-05/2.626e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.351, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6131/0.9642, allocations: 370.1 MB / 1.126 GB, free: 4.391 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/0.9645, allocations: 87.52 kB / 1.126 GB, free: 4.348 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.11/3.074, allocations: 0.6727 GB / 1.799 GB, free: 124.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.82e-07/3.074, allocations: 0 / 1.799 GB, free: 124.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.113e-05/3.075, allocations: 39.25 kB / 1.799 GB, free: 124.7 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.001795/3.076, allocations: 1.431 MB / 1.8 GB, free: 124 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/3.076, allocations: 7.312 kB / 1.8 GB, free: 124 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001153/3.077, allocations: 137.1 kB / 1.8 GB, free: 124 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004316/3.077, allocations: 204.7 kB / 1.8 GB, free: 123.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03913/3.116, allocations: 23.41 MB / 1.823 GB, free: 122.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000339/3.117, allocations: 131.8 kB / 1.823 GB, free: 122.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.332e-05/3.117, allocations: 86.81 kB / 1.823 GB, free: 122.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/3.118, allocations: 0.9301 MB / 1.824 GB, free: 122.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/3.118, allocations: 10.78 kB / 1.824 GB, free: 122.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.921e-05/3.118, allocations: 39.56 kB / 1.824 GB, free: 122.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/3.118, allocations: 18.62 kB / 1.824 GB, free: 122.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007082/3.119, allocations: 0.5073 MB / 1.825 GB, free: 122.5 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.003696/3.122, allocations: 4.335 MB / 1.829 GB, free: 119.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004347/3.123, allocations: 268.6 kB / 1.829 GB, free: 119.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/3.123, allocations: 152 kB / 1.829 GB, free: 119.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006132/3.124, allocations: 1.154 MB / 1.831 GB, free: 118.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/3.124, allocations: 34.38 kB / 1.831 GB, free: 118.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=29): time 2.024e-06/3.124, allocations: 0 / 1.831 GB, free: 118.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=29): time 0.0008034/3.125, allocations: 448.3 kB / 1.831 GB, free: 118.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/3.125, allocations: 54.72 kB / 1.831 GB, free: 118.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000794/3.125, allocations: 0.8005 MB / 1.832 GB, free: 118.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.536e-05/3.125, allocations: 34.73 kB / 1.832 GB, free: 118.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002839/3.126, allocations: 0.5757 MB / 1.832 GB, free: 117.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.536e-05/3.126, allocations: 106.1 kB / 1.833 GB, free: 117.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.848e-05/3.126, allocations: 10.81 kB / 1.833 GB, free: 117.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.233e-05/3.126, allocations: 316.5 kB / 1.833 GB, free: 117.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/3.126, allocations: 118.7 kB / 1.833 GB, free: 117.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/3.126, allocations: 318.6 kB / 1.833 GB, free: 117.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/3.126, allocations: 159.6 kB / 1.833 GB, free: 117.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/3.126, allocations: 3.875 kB / 1.833 GB, free: 117.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009008/3.127, allocations: 0.5936 MB / 1.834 GB, free: 117.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/3.127, allocations: 10.09 kB / 1.834 GB, free: 117.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/3.127, allocations: 3.969 kB / 1.834 GB, free: 117.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005603/3.128, allocations: 149.2 kB / 1.834 GB, free: 117.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004352/3.128, allocations: 124.9 kB / 1.834 GB, free: 117.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007366/3.129, allocations: 1.693 MB / 1.836 GB, free: 115.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006975/3.13, allocations: 121 kB / 1.836 GB, free: 115.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.232e-05/3.13, allocations: 29.27 kB / 1.836 GB, free: 115.6 MB / 0.698 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 () * 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.0001037/3.13, allocations: 137.4 kB / 1.836 GB, free: 115.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/3.13, allocations: 106.3 kB / 1.836 GB, free: 115.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009353/3.131, allocations: 0.5799 MB / 1.837 GB, free: 115.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/3.131, allocations: 3.969 kB / 1.837 GB, free: 115.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/3.131, allocations: 0 / 1.837 GB, free: 115.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/3.131, allocations: 13.42 kB / 1.837 GB, free: 115.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001765/3.133, allocations: 1.455 MB / 1.838 GB, free: 114.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/3.133, allocations: 0 / 1.838 GB, free: 114.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003288/3.133, allocations: 87.02 kB / 1.838 GB, free: 114.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004317/3.134, allocations: 129.8 kB / 1.839 GB, free: 114.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/3.134, allocations: 13.88 kB / 1.839 GB, free: 114.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006101/3.134, allocations: 1.68 MB / 1.84 GB, free: 113.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/3.134, allocations: 6.562 kB / 1.84 GB, free: 113.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008057/3.135, allocations: 0.7439 MB / 1.841 GB, free: 113 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002809/3.136, allocations: 249.6 kB / 1.841 GB, free: 112.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.253e-05/3.136, allocations: 11.05 kB / 1.841 GB, free: 112.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006256/3.136, allocations: 90.58 kB / 1.841 GB, free: 112.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.075e-05/3.136, allocations: 27.11 kB / 1.841 GB, free: 112.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.678e-05/3.136, allocations: 27 kB / 1.841 GB, free: 112.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006111/3.137, allocations: 0.6226 MB / 1.842 GB, free: 112.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.3e-07/3.137, allocations: 0 / 1.842 GB, free: 112.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009506/3.138, allocations: 401.2 kB / 1.842 GB, free: 112.6 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.001787/3.14, allocations: 2.205 MB / 1.844 GB, free: 111.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007167/3.14, allocations: 392.9 kB / 1.845 GB, free: 111.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/3.14, allocations: 0 / 1.845 GB, free: 111.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004235/3.141, allocations: 232 kB / 1.845 GB, free: 111.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/3.143, allocations: 0.4893 MB / 1.846 GB, free: 111.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/3.145, allocations: 1.525 MB / 1.847 GB, free: 110.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/3.145, allocations: 1.117 MB / 1.848 GB, free: 110 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005432/3.146, allocations: 173.8 kB / 1.848 GB, free: 110 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003612/3.146, allocations: 409.7 kB / 1.849 GB, free: 110 MB / 0.698 GB Notification: Performance of SimCode: time 3.31e-07/3.146, allocations: 0 / 1.849 GB, free: 110 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0431/3.189, allocations: 32.5 MB / 1.88 GB, free: 103.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/3.19, allocations: 237.2 kB / 1.881 GB, free: 103.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.81/6, allocations: 0 / 1.881 GB, free: 103.2 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)