Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.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.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",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.8336/0.8336, allocations: 143.4 MB / 158.3 MB, free: 5.766 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.001093/0.001094, allocations: 181.9 kB / 191.5 MB, free: 5.762 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.458/1.458, allocations: 223.2 MB / 447.7 MB, free: 4.887 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.0008817/0.0008812, allocations: 92.25 kB / 0.5187 GB, free: 1.246 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001833/0.001834, allocations: 273.4 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004623/0.0004623, allocations: 17.59 kB / 0.6929 GB, free: 59.63 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2093, allocations: 82.8 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.837/1.046, allocations: 336 MB / 1.102 GB, free: 1.785 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/1.047, allocations: 79.14 kB / 1.102 GB, free: 1.742 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.5395/1.586, allocations: 74.2 MB / 1.174 GB, free: 243.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.096e-06/1.586, allocations: 0 / 1.174 GB, free: 243.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.769e-05/1.586, allocations: 3.844 kB / 1.174 GB, free: 243.9 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006092/1.587, allocations: 487.1 kB / 1.175 GB, free: 243.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/1.587, allocations: 14.88 kB / 1.175 GB, free: 243.4 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.5e-05/1.587, allocations: 49.3 kB / 1.175 GB, free: 243.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/1.587, allocations: 15.03 kB / 1.175 GB, free: 243.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/1.587, allocations: 242.1 kB / 1.175 GB, free: 243.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/1.587, allocations: 9.375 kB / 1.175 GB, free: 243.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/1.587, allocations: 11.34 kB / 1.175 GB, free: 243.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/1.588, allocations: 148.6 kB / 1.175 GB, free: 243.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/1.588, allocations: 0 / 1.175 GB, free: 243.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/1.588, allocations: 3.875 kB / 1.175 GB, free: 243.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/1.588, allocations: 3.562 kB / 1.175 GB, free: 243.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002365/1.588, allocations: 92.7 kB / 1.176 GB, free: 243.1 MB / 0.698 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.0006131/1.589, allocations: 0.5236 MB / 1.176 GB, free: 242.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/1.589, allocations: 94.16 kB / 1.176 GB, free: 242.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002162/1.589, allocations: 338.3 kB / 1.176 GB, free: 242.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/1.589, allocations: 37.94 kB / 1.176 GB, free: 242.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/1.589, allocations: 0 / 1.176 GB, free: 242.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004473/1.589, allocations: 173.5 kB / 1.177 GB, free: 242.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/1.59, allocations: 80.83 kB / 1.177 GB, free: 242 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/1.59, allocations: 175.5 kB / 1.177 GB, free: 241.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/1.59, allocations: 25.7 kB / 1.177 GB, free: 241.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.418e-05/1.59, allocations: 118.3 kB / 1.177 GB, free: 241.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/1.59, allocations: 26.11 kB / 1.177 GB, free: 241.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/1.59, allocations: 3.375 kB / 1.177 GB, free: 241.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.826e-05/1.59, allocations: 320 kB / 1.177 GB, free: 241.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/1.59, allocations: 35.84 kB / 1.177 GB, free: 241.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/1.59, allocations: 90.78 kB / 1.177 GB, free: 241.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/1.59, allocations: 45.69 kB / 1.178 GB, free: 241.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.59, allocations: 0 / 1.178 GB, free: 241.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002494/1.59, allocations: 136.6 kB / 1.178 GB, free: 241.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/1.591, allocations: 7.828 kB / 1.178 GB, free: 241.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/1.591, allocations: 8 kB / 1.178 GB, free: 241.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/1.591, allocations: 0 / 1.178 GB, free: 241.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/1.591, allocations: 19.58 kB / 1.178 GB, free: 241.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/1.591, allocations: 0 / 1.178 GB, free: 241.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/1.591, allocations: 23.27 kB / 1.178 GB, free: 241.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/1.591, allocations: 11.83 kB / 1.178 GB, free: 241.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.662e-05/1.591, allocations: 136.2 kB / 1.178 GB, free: 241.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.748e-05/1.591, allocations: 11.72 kB / 1.178 GB, free: 241.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/1.591, allocations: 140 kB / 1.178 GB, free: 241 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/1.591, allocations: 0 / 1.178 GB, free: 241 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/1.591, allocations: 3.969 kB / 1.178 GB, free: 241 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.591, allocations: 0 / 1.178 GB, free: 241 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004748/1.592, allocations: 457.3 kB / 1.178 GB, free: 240.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/1.592, allocations: 0 / 1.178 GB, free: 240.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.014e-05/1.592, allocations: 27.14 kB / 1.178 GB, free: 240.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/1.592, allocations: 7.703 kB / 1.178 GB, free: 240.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/1.592, allocations: 3.906 kB / 1.178 GB, free: 240.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/1.592, allocations: 0 / 1.178 GB, free: 240.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.592, allocations: 0 / 1.178 GB, free: 240.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003808/1.592, allocations: 403.1 kB / 1.179 GB, free: 240.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.401e-05/1.592, allocations: 103.8 kB / 1.179 GB, free: 240.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/1.592, allocations: 7.891 kB / 1.179 GB, free: 240.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/1.593, allocations: 13.5 kB / 1.179 GB, free: 240.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/1.593, allocations: 15.81 kB / 1.179 GB, free: 240.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/1.593, allocations: 3.969 kB / 1.179 GB, free: 240.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.977e-05/1.593, allocations: 138.4 kB / 1.179 GB, free: 240.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.593, allocations: 0 / 1.179 GB, free: 240.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004403/1.593, allocations: 66.39 kB / 1.179 GB, free: 240.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001053/1.594, allocations: 1.333 MB / 1.18 GB, free: 238.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003084/1.595, allocations: 108.7 kB / 1.181 GB, free: 238.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.595, allocations: 3.938 kB / 1.181 GB, free: 238.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/1.595, allocations: 67.98 kB / 1.181 GB, free: 238.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004612/1.595, allocations: 77.95 kB / 1.181 GB, free: 238.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/1.597, allocations: 1.264 MB / 1.182 GB, free: 237.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001695/1.597, allocations: 0.733 MB / 1.183 GB, free: 237.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.484e-05/1.597, allocations: 28.34 kB / 1.183 GB, free: 237.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.551e-05/1.597, allocations: 46.23 kB / 1.183 GB, free: 237.2 MB / 0.698 GB Notification: Performance of SimCode: time 4.138e-06/1.597, allocations: 0 / 1.183 GB, free: 237.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01692/1.614, allocations: 5.841 MB / 1.188 GB, free: 234.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/1.614, allocations: 237.3 kB / 1.189 GB, free: 234.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.893/3.508, allocations: 0 / 1.189 GB, free: 234.1 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1)