Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.203/2.203, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 177.2 kB / 498.1 MB, free: 5.738 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 223.2 MB / 0.7948 GB, free: 17.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000862/0.0008619, allocations: 99.5 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.0004058, allocations: 10.94 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2575, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9253/1.183, allocations: 376.6 MB / 1.591 GB, free: 18.26 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/1.183, allocations: 82.34 kB / 1.591 GB, free: 18.21 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.152/1.335, allocations: 74.2 MB / 1.663 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.944e-06/1.335, allocations: 8 kB / 1.663 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.983e-05/1.335, allocations: 7.984 kB / 1.663 GB, free: 7.527 MB / 0.9636 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.0006845/1.336, allocations: 484.5 kB / 1.664 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/1.336, allocations: 8.031 kB / 1.664 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.027e-05/1.336, allocations: 52.28 kB / 1.664 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.73e-05/1.336, allocations: 19.72 kB / 1.664 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/1.336, allocations: 244.8 kB / 1.664 GB, free: 6.672 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/1.337, allocations: 13.38 kB / 1.664 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/1.337, allocations: 10.56 kB / 1.664 GB, free: 6.652 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003129/1.337, allocations: 139.7 kB / 1.664 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/1.337, allocations: 0 / 1.664 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/1.337, allocations: 7.359 kB / 1.664 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/1.337, allocations: 4 kB / 1.664 GB, free: 6.527 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002587/1.337, allocations: 95.88 kB / 1.664 GB, free: 6.453 MB / 0.9636 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.0007071/1.338, allocations: 0.5233 MB / 1.665 GB, free: 5.93 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/1.338, allocations: 90 kB / 1.665 GB, free: 5.836 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002768/1.338, allocations: 338.3 kB / 1.665 GB, free: 5.438 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/1.338, allocations: 37.56 kB / 1.665 GB, free: 5.395 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/1.338, allocations: 0 / 1.665 GB, free: 5.395 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.00052/1.339, allocations: 164.2 kB / 1.665 GB, free: 5.25 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/1.339, allocations: 85.05 kB / 1.665 GB, free: 5.148 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/1.339, allocations: 166.7 kB / 1.666 GB, free: 4.992 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/1.339, allocations: 25.7 kB / 1.666 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.178e-05/1.339, allocations: 114.3 kB / 1.666 GB, free: 4.863 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/1.339, allocations: 26.39 kB / 1.666 GB, free: 4.84 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/1.339, allocations: 6.188 kB / 1.666 GB, free: 4.836 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001067/1.339, allocations: 325.3 kB / 1.666 GB, free: 4.516 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/1.34, allocations: 36.97 kB / 1.666 GB, free: 4.484 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/1.34, allocations: 79.08 kB / 1.666 GB, free: 4.398 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/1.34, allocations: 47.3 kB / 1.666 GB, free: 4.359 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.34, allocations: 0 / 1.666 GB, free: 4.359 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002931/1.34, allocations: 138.1 kB / 1.666 GB, free: 4.234 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/1.34, allocations: 8 kB / 1.666 GB, free: 4.227 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/1.34, allocations: 4 kB / 1.666 GB, free: 4.223 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/1.34, allocations: 0 / 1.666 GB, free: 4.223 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/1.34, allocations: 20.05 kB / 1.666 GB, free: 4.203 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/1.34, allocations: 11.94 kB / 1.666 GB, free: 4.191 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/1.34, allocations: 26.33 kB / 1.666 GB, free: 4.168 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/1.341, allocations: 7.984 kB / 1.666 GB, free: 4.16 MB / 0.9636 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 0.0001022/1.341, allocations: 136.6 kB / 1.667 GB, free: 4.027 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.964e-05/1.341, allocations: 11.91 kB / 1.667 GB, free: 4.016 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/1.341, allocations: 134.6 kB / 1.667 GB, free: 3.906 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/1.341, allocations: 7.297 kB / 1.667 GB, free: 3.902 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/1.341, allocations: 0 / 1.667 GB, free: 3.902 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/1.341, allocations: 4.031 kB / 1.667 GB, free: 3.898 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005152/1.341, allocations: 458.2 kB / 1.667 GB, free: 3.438 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.341, allocations: 0 / 1.667 GB, free: 3.438 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/1.342, allocations: 31.58 kB / 1.667 GB, free: 3.41 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/1.342, allocations: 4 kB / 1.667 GB, free: 3.406 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/1.342, allocations: 3.984 kB / 1.667 GB, free: 3.402 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/1.342, allocations: 4 kB / 1.667 GB, free: 3.398 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/1.342, allocations: 0 / 1.667 GB, free: 3.398 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004122/1.342, allocations: 396.7 kB / 1.668 GB, free: 2.992 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.259e-05/1.342, allocations: 108.1 kB / 1.668 GB, free: 2.871 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/1.342, allocations: 5.672 kB / 1.668 GB, free: 2.867 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/1.342, allocations: 13.81 kB / 1.668 GB, free: 2.855 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/1.342, allocations: 10.36 kB / 1.668 GB, free: 2.848 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/1.342, allocations: 4 kB / 1.668 GB, free: 2.844 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001029/1.343, allocations: 136.2 kB / 1.668 GB, free: 2.727 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.7e-07/1.343, allocations: 3.938 kB / 1.668 GB, free: 2.723 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000419/1.343, allocations: 64.36 kB / 1.668 GB, free: 2.668 MB / 0.9636 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.001123/1.344, allocations: 1.332 MB / 1.669 GB, free: 1.332 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003058/1.344, allocations: 110.9 kB / 1.669 GB, free: 1.242 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.344, allocations: 0 / 1.669 GB, free: 1.242 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/1.345, allocations: 72.7 kB / 1.669 GB, free: 1.184 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/1.345, allocations: 63.2 kB / 1.669 GB, free: 1.129 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/1.347, allocations: 1.279 MB / 1.671 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/1.347, allocations: 0.7321 MB / 1.671 GB, free: 15.12 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001138/1.347, allocations: 29.58 kB / 1.671 GB, free: 15.09 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.609e-05/1.347, allocations: 43.8 kB / 1.672 GB, free: 15.07 MB / 0.9792 GB Notification: Performance of SimCode: time 2.2e-07/1.347, allocations: 0 / 1.672 GB, free: 15.07 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/1.366, allocations: 5.831 MB / 1.677 GB, free: 9.434 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/1.366, allocations: 239.9 kB / 1.677 GB, free: 9.184 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.753/3.119, allocations: 0 / 1.677 GB, free: 9.184 MB / 0.9792 GB (rm -f Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat does not exist to compare? outputFormat=mat