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.8715/0.8715, allocations: 141.8 MB / 149.3 MB, free: 9.215 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.001016/0.001016, allocations: 179.9 kB / 182.2 MB, free: 9.461 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.56/1.56, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0009483/0.0009483, allocations: 104 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001798/0.001798, allocations: 275 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.951e-05/1.952e-05, allocations: 0 / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4962/0.4962, allocations: 82.78 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8179/1.314, allocations: 335.3 MB / 1.085 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/1.315, allocations: 87.52 kB / 1.085 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1544/1.469, allocations: 73.38 MB / 1.157 GB, free: 10.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.344e-06/1.469, allocations: 0 / 1.157 GB, free: 10.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.927e-05/1.469, allocations: 4 kB / 1.157 GB, free: 10.41 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.0006458/1.47, allocations: 474 kB / 1.157 GB, free: 9.898 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/1.47, allocations: 8.031 kB / 1.157 GB, free: 9.891 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.839e-05/1.47, allocations: 19.81 kB / 1.157 GB, free: 9.871 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/1.47, allocations: 247.6 kB / 1.157 GB, free: 9.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/1.47, allocations: 7.953 kB / 1.157 GB, free: 9.582 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/1.47, allocations: 8 kB / 1.157 GB, free: 9.574 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001576/1.47, allocations: 55.84 kB / 1.157 GB, free: 9.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/1.471, allocations: 107.3 kB / 1.158 GB, free: 9.402 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/1.471, allocations: 0 / 1.158 GB, free: 9.402 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/1.471, allocations: 8 kB / 1.158 GB, free: 9.395 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/1.471, allocations: 0 / 1.158 GB, free: 9.395 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.0006999/1.471, allocations: 493 kB / 1.158 GB, free: 8.871 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/1.471, allocations: 69.2 kB / 1.158 GB, free: 8.785 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.537e-05/1.472, allocations: 49.81 kB / 1.158 GB, free: 8.73 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003032/1.472, allocations: 332.4 kB / 1.158 GB, free: 8.332 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/1.472, allocations: 42.45 kB / 1.158 GB, free: 8.281 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.886e-06/1.472, allocations: 7.938 kB / 1.158 GB, free: 8.273 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003655/1.472, allocations: 93.48 kB / 1.159 GB, free: 8.176 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/1.472, allocations: 77.11 kB / 1.159 GB, free: 8.082 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/1.472, allocations: 141.5 kB / 1.159 GB, free: 7.938 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/1.472, allocations: 25.7 kB / 1.159 GB, free: 7.906 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.294e-05/1.473, allocations: 120 kB / 1.159 GB, free: 7.785 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/1.473, allocations: 27.64 kB / 1.159 GB, free: 7.758 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-06/1.473, allocations: 0 / 1.159 GB, free: 7.758 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001239/1.473, allocations: 326.9 kB / 1.159 GB, free: 7.43 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.669e-05/1.473, allocations: 16 kB / 1.159 GB, free: 7.414 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.999e-05/1.473, allocations: 61.08 kB / 1.159 GB, free: 7.336 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/1.473, allocations: 31.97 kB / 1.159 GB, free: 7.305 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/1.473, allocations: 4 kB / 1.159 GB, free: 7.301 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002055/1.473, allocations: 101.5 kB / 1.159 GB, free: 7.195 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/1.473, allocations: 7.938 kB / 1.159 GB, free: 7.188 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/1.473, allocations: 0 / 1.159 GB, free: 7.188 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/1.473, allocations: 7.938 kB / 1.159 GB, free: 7.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/1.473, allocations: 19.98 kB / 1.159 GB, free: 7.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/1.473, allocations: 4 kB / 1.159 GB, free: 7.156 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/1.474, allocations: 19.95 kB / 1.16 GB, free: 7.137 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/1.474, allocations: 4 kB / 1.16 GB, free: 7.133 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 () * 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 8.234e-05/1.474, allocations: 112.9 kB / 1.16 GB, free: 7.016 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002208/1.474, allocations: 97.69 kB / 1.16 GB, free: 6.914 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.608e-05/1.474, allocations: 15.77 kB / 1.16 GB, free: 6.898 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002799/1.474, allocations: 135.2 kB / 1.16 GB, free: 6.766 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/1.474, allocations: 0 / 1.16 GB, free: 6.766 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.474, allocations: 4.031 kB / 1.16 GB, free: 6.762 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/1.474, allocations: 4 kB / 1.16 GB, free: 6.758 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005734/1.475, allocations: 429.3 kB / 1.16 GB, free: 6.285 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/1.475, allocations: 0 / 1.16 GB, free: 6.285 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.901e-05/1.475, allocations: 19.98 kB / 1.16 GB, free: 6.266 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/1.475, allocations: 4 kB / 1.16 GB, free: 6.262 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/1.475, allocations: 4.094 kB / 1.16 GB, free: 6.258 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/1.475, allocations: 4 kB / 1.16 GB, free: 6.254 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/1.475, allocations: 0 / 1.16 GB, free: 6.254 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/1.475, allocations: 356 kB / 1.161 GB, free: 5.855 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.673e-05/1.475, allocations: 100.9 kB / 1.161 GB, free: 5.738 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/1.476, allocations: 3.938 kB / 1.161 GB, free: 5.734 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/1.476, allocations: 11.98 kB / 1.161 GB, free: 5.723 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/1.476, allocations: 19.94 kB / 1.161 GB, free: 5.703 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/1.476, allocations: 4 kB / 1.161 GB, free: 5.699 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.336e-05/1.476, allocations: 112.3 kB / 1.161 GB, free: 5.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/1.476, allocations: 0 / 1.161 GB, free: 5.59 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000422/1.476, allocations: 55.84 kB / 1.161 GB, free: 5.535 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 () * 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.001089/1.477, allocations: 1.302 MB / 1.162 GB, free: 4.188 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000171/1.478, allocations: 71.97 kB / 1.162 GB, free: 4.117 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.478, allocations: 0 / 1.162 GB, free: 4.117 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.582e-05/1.478, allocations: 47.92 kB / 1.162 GB, free: 4.07 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/1.478, allocations: 45.83 kB / 1.162 GB, free: 4.027 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006469/1.479, allocations: 290.5 kB / 1.163 GB, free: 3.695 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/1.479, allocations: 0.7318 MB / 1.163 GB, free: 2.938 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.909e-05/1.479, allocations: 24.86 kB / 1.163 GB, free: 2.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.067e-05/1.479, allocations: 43.42 kB / 1.163 GB, free: 2.871 MB / 0.698 GB Notification: Performance of SimCode: time 2.71e-07/1.479, allocations: 0 / 1.163 GB, free: 2.871 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4411/1.92, allocations: 4.404 MB / 1.168 GB, free: 246.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/1.921, allocations: 188.5 kB / 1.168 GB, free: 246.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/3.666, allocations: 1.781 kB / 1.168 GB, free: 246.2 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)