Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 172.9 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8/0.8, allocations: 133.5 MB / 141.6 MB, free: 2.875 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.629/1.629, allocations: 221.5 MB / 395.4 MB, free: 10.77 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.00105/0.00105, allocations: 107.8 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.263e-05/2.257e-05, allocations: 4 kB / 0.5535 GB, free: 8.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.534/0.534, allocations: 82.3 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9484/1.482, allocations: 372 MB / 0.9972 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/1.483, allocations: 83.58 kB / 0.9973 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.84/4.323, allocations: 0.6688 GB / 1.666 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.134e-06/4.323, allocations: 0 / 1.666 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001077/4.323, allocations: 48.7 kB / 1.666 GB, free: 121.1 MB / 0.6823 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.002353/4.325, allocations: 1.435 MB / 1.668 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/4.325, allocations: 7.594 kB / 1.668 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005187/4.326, allocations: 213.2 kB / 1.668 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04384/4.37, allocations: 23.34 MB / 1.691 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000371/4.37, allocations: 104.2 kB / 1.691 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/4.37, allocations: 51.19 kB / 1.691 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001045/4.371, allocations: 441.3 kB / 1.691 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/4.372, allocations: 0.8099 MB / 1.692 GB, free: 119 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/4.373, allocations: 6.875 kB / 1.692 GB, free: 119 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.725e-05/4.373, allocations: 3.906 kB / 1.692 GB, free: 119 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/4.373, allocations: 18.88 kB / 1.692 GB, free: 119 MB / 0.6823 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.004986/4.378, allocations: 4.157 MB / 1.696 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005063/4.378, allocations: 259.1 kB / 1.696 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/4.378, allocations: 147.2 kB / 1.696 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007457/4.379, allocations: 1.15 MB / 1.698 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/4.379, allocations: 41.28 kB / 1.698 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=29): time 2.174e-06/4.379, allocations: 0 / 1.698 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=29): time 0.001307/4.38, allocations: 449.5 kB / 1.698 GB, free: 115 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/4.38, allocations: 55.25 kB / 1.698 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007769/4.381, allocations: 0.6611 MB / 1.699 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/4.381, allocations: 28.52 kB / 1.699 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003724/4.382, allocations: 0.582 MB / 1.699 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.588e-05/4.382, allocations: 106.2 kB / 1.699 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.864e-05/4.382, allocations: 3.062 kB / 1.699 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.588e-05/4.382, allocations: 320.2 kB / 1.7 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/4.382, allocations: 106.5 kB / 1.7 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/4.382, allocations: 305 kB / 1.7 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004894/4.383, allocations: 185.4 kB / 1.7 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/4.383, allocations: 3.844 kB / 1.7 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001162/4.384, allocations: 0.5685 MB / 1.701 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/4.384, allocations: 10.66 kB / 1.701 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/4.384, allocations: 8.531 kB / 1.701 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004503/4.385, allocations: 123 kB / 1.701 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000447/4.385, allocations: 127.6 kB / 1.701 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009241/4.386, allocations: 1.712 MB / 1.703 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007399/4.387, allocations: 97.38 kB / 1.703 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.889e-05/4.387, allocations: 28.84 kB / 1.703 GB, free: 112.1 MB / 0.6823 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.0001751/4.387, allocations: 135 kB / 1.703 GB, free: 112 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009021/4.388, allocations: 447.7 kB / 1.703 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/4.388, allocations: 102.5 kB / 1.704 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/4.389, allocations: 0.5632 MB / 1.704 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/4.389, allocations: 7.062 kB / 1.704 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/4.389, allocations: 2.812 kB / 1.704 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/4.389, allocations: 3.844 kB / 1.704 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002145/4.391, allocations: 1.336 MB / 1.705 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/4.391, allocations: 4.938 kB / 1.705 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003745/4.392, allocations: 81.17 kB / 1.705 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003693/4.392, allocations: 122.9 kB / 1.706 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/4.392, allocations: 9.688 kB / 1.706 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007331/4.393, allocations: 1.693 MB / 1.707 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/4.393, allocations: 3.953 kB / 1.707 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/4.394, allocations: 0.7257 MB / 1.708 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003431/4.394, allocations: 239.5 kB / 1.708 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.575e-05/4.395, allocations: 3.75 kB / 1.708 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006274/4.395, allocations: 84.19 kB / 1.708 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.572e-05/4.395, allocations: 35.89 kB / 1.708 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.035e-05/4.395, allocations: 18.72 kB / 1.708 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005638/4.396, allocations: 0.4984 MB / 1.709 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/4.396, allocations: 0 / 1.709 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001201/4.397, allocations: 405.6 kB / 1.709 GB, free: 109.1 MB / 0.6823 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.002293/4.399, allocations: 2.194 MB / 1.711 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007544/4.4, allocations: 355.8 kB / 1.712 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/4.4, allocations: 3.938 kB / 1.712 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003278/4.4, allocations: 205.9 kB / 1.712 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/4.402, allocations: 406.6 kB / 1.712 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002765/4.405, allocations: 1.482 MB / 1.714 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005204/4.406, allocations: 1.127 MB / 1.715 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0006061/4.406, allocations: 157.5 kB / 1.715 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004354/4.407, allocations: 415.3 kB / 1.715 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.202e-06/4.407, allocations: 0 / 1.715 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05779/4.464, allocations: 26 MB / 1.741 GB, free: 104.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/4.465, allocations: 170.5 kB / 1.741 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.994/7.459, allocations: 0 / 1.741 GB, free: 104.4 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)