Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.188/2.188, allocations: 390.3 MB / 402.8 MB, free: 6.68 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.00148/0.00148, allocations: 164.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.0008839/0.0008839, allocations: 95.88 kB / 0.9318 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.694e-05/3.705e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2936, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.349/5.642, allocations: 1.926 GB / 3.145 GB, free: 387.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/5.643, allocations: 87.95 kB / 3.145 GB, free: 387.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.928/7.57, allocations: 491.5 MB / 3.625 GB, free: 309.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.222e-06/7.571, allocations: 0 / 3.625 GB, free: 309.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000101/7.571, allocations: 21.05 kB / 3.625 GB, free: 309.1 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.00285/7.574, allocations: 1.039 MB / 3.626 GB, free: 308.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/7.574, allocations: 6.781 kB / 3.626 GB, free: 308.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002646/7.574, allocations: 94.12 kB / 3.626 GB, free: 308.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002194/7.576, allocations: 272.8 kB / 3.627 GB, free: 308.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/7.578, allocations: 0.6117 MB / 3.627 GB, free: 308.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.47e-05/7.578, allocations: 48.33 kB / 3.627 GB, free: 308.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/7.578, allocations: 59 kB / 3.627 GB, free: 308.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/7.579, allocations: 0.5887 MB / 3.628 GB, free: 308.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/7.579, allocations: 0 / 3.628 GB, free: 308.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-05/7.579, allocations: 29.64 kB / 3.628 GB, free: 308.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/7.579, allocations: 15.34 kB / 3.628 GB, free: 308.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008441/7.58, allocations: 469.9 kB / 3.628 GB, free: 308.1 MB / 1.167 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.003195/7.583, allocations: 2.432 MB / 3.631 GB, free: 306.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005661/7.584, allocations: 339.2 kB / 3.631 GB, free: 306.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/7.584, allocations: 211.6 kB / 3.631 GB, free: 306.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004821/7.585, allocations: 305.5 kB / 3.632 GB, free: 306.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/7.585, allocations: 41.89 kB / 3.632 GB, free: 306.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=39): time 2.856e-06/7.585, allocations: 0 / 3.632 GB, free: 306.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=39): time 0.0009839/7.586, allocations: 426.6 kB / 3.632 GB, free: 306.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/7.586, allocations: 59.12 kB / 3.632 GB, free: 306 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005096/7.586, allocations: 440.6 kB / 3.633 GB, free: 305.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.346e-05/7.586, allocations: 33.55 kB / 3.633 GB, free: 305.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/7.586, allocations: 324 kB / 3.633 GB, free: 305.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/7.587, allocations: 142 kB / 3.633 GB, free: 305.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.001e-05/7.587, allocations: 11.53 kB / 3.633 GB, free: 305.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001073/7.587, allocations: 364.8 kB / 3.633 GB, free: 305.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/7.587, allocations: 147.8 kB / 3.633 GB, free: 305.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002904/7.587, allocations: 264.9 kB / 3.634 GB, free: 304.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/7.588, allocations: 196.1 kB / 3.634 GB, free: 304.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/7.588, allocations: 0 / 3.634 GB, free: 304.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007451/7.588, allocations: 494 kB / 3.634 GB, free: 304.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000193/7.589, allocations: 0.8741 MB / 3.635 GB, free: 303.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/7.589, allocations: 5.062 kB / 3.635 GB, free: 303.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/7.589, allocations: 3.812 kB / 3.635 GB, free: 303.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005707/7.589, allocations: 109.1 kB / 3.635 GB, free: 303.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003126/7.589, allocations: 0.5988 MB / 3.636 GB, free: 303.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007181/7.59, allocations: 87.36 kB / 3.636 GB, free: 303.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.379e-05/7.59, allocations: 19.09 kB / 3.636 GB, free: 303.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/7.59, allocations: 6.719 kB / 3.636 GB, free: 303.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005883/7.591, allocations: 415.1 kB / 3.636 GB, free: 302.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/7.591, allocations: 7.172 kB / 3.636 GB, free: 302.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.123e-06/7.591, allocations: 7.922 kB / 3.636 GB, free: 302.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003864/7.591, allocations: 110.5 kB / 3.637 GB, free: 302.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/7.591, allocations: 3.969 kB / 3.637 GB, free: 302.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006526/7.592, allocations: 80.34 kB / 3.637 GB, free: 302.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.338e-05/7.592, allocations: 23.23 kB / 3.637 GB, free: 302.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001355/7.592, allocations: 132.9 kB / 3.637 GB, free: 302.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/7.592, allocations: 58.34 kB / 3.637 GB, free: 302.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006852/7.593, allocations: 442.5 kB / 3.637 GB, free: 302.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/7.593, allocations: 9.391 kB / 3.637 GB, free: 302.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/7.593, allocations: 3.797 kB / 3.637 GB, free: 302.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005349/7.594, allocations: 0.666 MB / 3.638 GB, free: 302 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001874/7.595, allocations: 1.236 MB / 3.639 GB, free: 301.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.758e-06/7.595, allocations: 0 / 3.639 GB, free: 301.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005147/7.596, allocations: 108 kB / 3.639 GB, free: 301.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/7.596, allocations: 3.562 kB / 3.639 GB, free: 301.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.075e-05/7.596, allocations: 18.06 kB / 3.639 GB, free: 301.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002328/7.596, allocations: 0.5942 MB / 3.64 GB, free: 300.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/7.596, allocations: 2.5 kB / 3.64 GB, free: 300.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000933/7.597, allocations: 0.8029 MB / 3.641 GB, free: 300.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003149/7.598, allocations: 184.5 kB / 3.641 GB, free: 300.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/7.598, allocations: 14.61 kB / 3.641 GB, free: 300.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000546/7.598, allocations: 50 kB / 3.641 GB, free: 300.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.479e-05/7.598, allocations: 41.09 kB / 3.641 GB, free: 300.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/7.598, allocations: 14.75 kB / 3.641 GB, free: 300.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0003752/7.599, allocations: 345.7 kB / 3.641 GB, free: 299.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.81e-07/7.599, allocations: 0 / 3.641 GB, free: 299.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001592/7.6, allocations: 499.8 kB / 3.642 GB, free: 299.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,senDenFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003255/7.604, allocations: 3.119 MB / 3.645 GB, free: 297.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001226/7.605, allocations: 0.6163 MB / 3.645 GB, free: 297.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/7.605, allocations: 0 / 3.645 GB, free: 297.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000329/7.605, allocations: 199.7 kB / 3.646 GB, free: 297.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00167/7.607, allocations: 356.2 kB / 3.646 GB, free: 297.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/7.61, allocations: 1.281 MB / 3.647 GB, free: 297 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005143/7.61, allocations: 0.964 MB / 3.648 GB, free: 296.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009598/7.611, allocations: 250.8 kB / 3.648 GB, free: 296.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003035/7.611, allocations: 213.3 kB / 3.649 GB, free: 296.1 MB / 1.167 GB Notification: Performance of SimCode: time 7.42e-07/7.611, allocations: 2.25 kB / 3.649 GB, free: 296.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07192/7.683, allocations: 42.69 MB / 3.69 GB, free: 282.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/7.684, allocations: 213.1 kB / 3.69 GB, free: 281.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.415/11.1, allocations: 0 / 3.69 GB, free: 281.8 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.Density_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_Density.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.Density_res.mat does not exist to compare? outputFormat=mat