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.389/2.389, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001176/0.001176, allocations: 188.8 kB / 487.4 MB, free: 5.031 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.674/1.674, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008981/0.000898, allocations: 91.98 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.7e-05/3.695e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3238, allocations: 142.4 MB / 1.206 GB, free: 43.9 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.321/1.645, allocations: 375.9 MB / 1.573 GB, free: 13.49 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/1.645, allocations: 83.02 kB / 1.573 GB, free: 13.45 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1701/1.816, allocations: 73.37 MB / 1.645 GB, free: 13.43 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.593e-06/1.816, allocations: 3.938 kB / 1.645 GB, free: 13.43 MB / 1.057 GB Notification: Performance of Transformations before backend: time 1.957e-05/1.816, allocations: 11.98 kB / 1.645 GB, free: 13.41 MB / 1.057 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.0007076/1.816, allocations: 466.8 kB / 1.645 GB, free: 12.91 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/1.816, allocations: 8.031 kB / 1.645 GB, free: 12.91 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.485e-05/1.817, allocations: 15.81 kB / 1.645 GB, free: 12.89 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003573/1.817, allocations: 243.6 kB / 1.646 GB, free: 12.61 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/1.817, allocations: 4 kB / 1.646 GB, free: 12.61 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/1.817, allocations: 8 kB / 1.646 GB, free: 12.6 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001634/1.817, allocations: 55.98 kB / 1.646 GB, free: 12.55 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/1.817, allocations: 108.9 kB / 1.646 GB, free: 12.43 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/1.817, allocations: 0 / 1.646 GB, free: 12.43 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/1.817, allocations: 4 kB / 1.646 GB, free: 12.43 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/1.817, allocations: 4 kB / 1.646 GB, free: 12.42 MB / 1.057 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.0007118/1.818, allocations: 492.9 kB / 1.646 GB, free: 11.9 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/1.818, allocations: 81.16 kB / 1.646 GB, free: 11.8 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.47e-05/1.818, allocations: 37.83 kB / 1.646 GB, free: 11.76 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003398/1.819, allocations: 340.3 kB / 1.647 GB, free: 11.35 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/1.819, allocations: 34.5 kB / 1.647 GB, free: 11.31 MB / 1.057 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/1.819, allocations: 4 kB / 1.647 GB, free: 11.3 MB / 1.057 GB Notification: Performance of matching and sorting (n=7): time 0.0003856/1.819, allocations: 97.56 kB / 1.647 GB, free: 11.2 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/1.819, allocations: 77.11 kB / 1.647 GB, free: 11.11 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/1.819, allocations: 138 kB / 1.647 GB, free: 10.97 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/1.819, allocations: 25.7 kB / 1.647 GB, free: 10.94 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 8.096e-05/1.819, allocations: 124 kB / 1.647 GB, free: 10.81 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 3e-05/1.82, allocations: 23.66 kB / 1.647 GB, free: 10.79 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/1.82, allocations: 0 / 1.647 GB, free: 10.79 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001426/1.82, allocations: 326.9 kB / 1.647 GB, free: 10.46 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.331e-05/1.82, allocations: 23.98 kB / 1.647 GB, free: 10.44 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.001e-05/1.82, allocations: 61.08 kB / 1.648 GB, free: 10.36 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/1.82, allocations: 35.95 kB / 1.648 GB, free: 10.32 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.82, allocations: 0 / 1.648 GB, free: 10.32 MB / 1.057 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002075/1.82, allocations: 105.5 kB / 1.648 GB, free: 10.21 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/1.82, allocations: 4 kB / 1.648 GB, free: 10.21 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/1.82, allocations: 4 kB / 1.648 GB, free: 10.21 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/1.82, allocations: 0 / 1.648 GB, free: 10.21 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/1.82, allocations: 19.98 kB / 1.648 GB, free: 10.19 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/1.82, allocations: 0 / 1.648 GB, free: 10.19 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/1.82, allocations: 23.95 kB / 1.648 GB, free: 10.16 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/1.821, allocations: 11.98 kB / 1.648 GB, free: 10.15 MB / 1.057 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 9.604e-05/1.821, allocations: 108.9 kB / 1.648 GB, free: 10.04 MB / 1.057 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002262/1.821, allocations: 93.66 kB / 1.648 GB, free: 9.941 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/1.821, allocations: 15.81 kB / 1.648 GB, free: 9.926 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002822/1.821, allocations: 131.3 kB / 1.648 GB, free: 9.793 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/1.821, allocations: 4 kB / 1.648 GB, free: 9.789 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/1.821, allocations: 4.031 kB / 1.648 GB, free: 9.785 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.821, allocations: 0 / 1.648 GB, free: 9.785 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005608/1.822, allocations: 433.4 kB / 1.648 GB, free: 9.309 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/1.822, allocations: 4 kB / 1.648 GB, free: 9.305 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.337e-05/1.822, allocations: 19.98 kB / 1.649 GB, free: 9.285 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/1.822, allocations: 0 / 1.649 GB, free: 9.285 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/1.822, allocations: 8.094 kB / 1.649 GB, free: 9.277 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/1.822, allocations: 0 / 1.649 GB, free: 9.277 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.822, allocations: 7.938 kB / 1.649 GB, free: 9.27 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/1.822, allocations: 359.9 kB / 1.649 GB, free: 8.867 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-05/1.822, allocations: 93 kB / 1.649 GB, free: 8.758 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/1.822, allocations: 8.047 kB / 1.649 GB, free: 8.75 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/1.823, allocations: 15.92 kB / 1.649 GB, free: 8.734 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/1.823, allocations: 11.98 kB / 1.649 GB, free: 8.723 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/1.823, allocations: 4 kB / 1.649 GB, free: 8.719 MB / 1.057 GB Notification: Performance of sorting global known variables: time 8.609e-05/1.823, allocations: 112.3 kB / 1.649 GB, free: 8.609 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.4e-07/1.823, allocations: 0 / 1.649 GB, free: 8.609 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0004101/1.823, allocations: 67.83 kB / 1.649 GB, free: 8.543 MB / 1.057 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.001193/1.824, allocations: 1.299 MB / 1.65 GB, free: 7.203 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0001741/1.825, allocations: 63.98 kB / 1.651 GB, free: 7.141 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/1.825, allocations: 4.125 kB / 1.651 GB, free: 7.137 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 8.545e-05/1.825, allocations: 43.92 kB / 1.651 GB, free: 7.094 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004851/1.825, allocations: 61.48 kB / 1.651 GB, free: 7.035 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000661/1.826, allocations: 282.6 kB / 1.651 GB, free: 6.715 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/1.826, allocations: 0.7279 MB / 1.652 GB, free: 5.961 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 9.036e-05/1.826, allocations: 28.86 kB / 1.652 GB, free: 5.93 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.366e-05/1.826, allocations: 43.42 kB / 1.652 GB, free: 5.887 MB / 1.057 GB Notification: Performance of SimCode: time 2.4e-07/1.826, allocations: 0 / 1.652 GB, free: 5.887 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02801/1.854, allocations: 4.398 MB / 1.656 GB, free: 1.531 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002952/1.855, allocations: 184 kB / 1.656 GB, free: 1.34 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.884/3.738, allocations: 0 / 1.656 GB, free: 1.34 MB / 1.057 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