Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.Density.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.Sensors.Examples.Density,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_Density",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.436/2.436, allocations: 387.4 MB / 394.9 MB, free: 13.33 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.001691/0.001691, allocations: 184.7 kB / 487.4 MB, free: 5.027 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.552/1.552, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 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.0009176/0.0009175, allocations: 99.59 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.172e-05/2.176e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3193, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.735/6.054, allocations: 1.925 GB / 3.131 GB, free: 350.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/6.055, allocations: 86.05 kB / 3.131 GB, free: 350.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.549/7.604, allocations: 486 MB / 3.606 GB, free: 307.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.843e-06/7.604, allocations: 0 / 3.606 GB, free: 307.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.393e-05/7.604, allocations: 23.7 kB / 3.606 GB, free: 307.6 MB / 1.151 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.001921/7.606, allocations: 1.035 MB / 3.607 GB, free: 307.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/7.606, allocations: 7.5 kB / 3.607 GB, free: 307.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001878/7.608, allocations: 273.9 kB / 3.607 GB, free: 307 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/7.609, allocations: 0.6105 MB / 3.608 GB, free: 306.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/7.609, allocations: 18.98 kB / 3.608 GB, free: 306.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.057e-05/7.609, allocations: 38.53 kB / 3.608 GB, free: 306.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006804/7.61, allocations: 444 kB / 3.608 GB, free: 306.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00075/7.61, allocations: 0.5127 MB / 3.609 GB, free: 306.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/7.61, allocations: 0 / 3.609 GB, free: 306.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.635e-05/7.611, allocations: 0 / 3.609 GB, free: 306.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.689e-05/7.611, allocations: 23.25 kB / 3.609 GB, free: 306.7 MB / 1.151 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.002529/7.613, allocations: 2.313 MB / 3.611 GB, free: 305.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004473/7.614, allocations: 315.1 kB / 3.611 GB, free: 305.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002258/7.614, allocations: 203.5 kB / 3.611 GB, free: 305.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004444/7.614, allocations: 304.1 kB / 3.612 GB, free: 305.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/7.614, allocations: 40.92 kB / 3.612 GB, free: 305.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=39): time 2.474e-06/7.614, allocations: 0 / 3.612 GB, free: 305.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=39): time 0.0009663/7.615, allocations: 426.3 kB / 3.612 GB, free: 305.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/7.615, allocations: 55.31 kB / 3.612 GB, free: 305 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003499/7.616, allocations: 381.5 kB / 3.612 GB, free: 304.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/7.616, allocations: 31.61 kB / 3.612 GB, free: 304.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/7.616, allocations: 316.7 kB / 3.613 GB, free: 304.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.204e-05/7.616, allocations: 139.8 kB / 3.613 GB, free: 304.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.942e-05/7.616, allocations: 0 / 3.613 GB, free: 304.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.205e-05/7.616, allocations: 366.4 kB / 3.613 GB, free: 304.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/7.616, allocations: 139.4 kB / 3.613 GB, free: 304.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002715/7.617, allocations: 249.4 kB / 3.614 GB, free: 304.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/7.617, allocations: 206.9 kB / 3.614 GB, free: 304.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/7.617, allocations: 0 / 3.614 GB, free: 304.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0006812/7.618, allocations: 478.9 kB / 3.614 GB, free: 304 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000168/7.618, allocations: 0.8772 MB / 3.615 GB, free: 303.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/7.618, allocations: 7.438 kB / 3.615 GB, free: 303.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/7.618, allocations: 3.5 kB / 3.615 GB, free: 303.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005972/7.618, allocations: 123.4 kB / 3.615 GB, free: 303.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002677/7.619, allocations: 0.589 MB / 3.616 GB, free: 302.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006875/7.619, allocations: 79.56 kB / 3.616 GB, free: 302.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-05/7.619, allocations: 17.05 kB / 3.616 GB, free: 302.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/7.619, allocations: 7.594 kB / 3.616 GB, free: 302.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005913/7.62, allocations: 383.2 kB / 3.616 GB, free: 302.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/7.62, allocations: 0 / 3.616 GB, free: 302.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.594e-06/7.62, allocations: 11.39 kB / 3.616 GB, free: 302.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003907/7.621, allocations: 105.3 kB / 3.616 GB, free: 302.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/7.621, allocations: 3.969 kB / 3.616 GB, free: 302.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006089/7.621, allocations: 73.45 kB / 3.616 GB, free: 302.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.695e-05/7.621, allocations: 19.16 kB / 3.617 GB, free: 302.3 MB / 1.151 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.0001288/7.621, allocations: 117.2 kB / 3.617 GB, free: 302.2 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000589/7.622, allocations: 401.8 kB / 3.617 GB, free: 302.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.897e-05/7.622, allocations: 54.72 kB / 3.617 GB, free: 302 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006868/7.623, allocations: 425.2 kB / 3.617 GB, free: 301.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/7.623, allocations: 10.75 kB / 3.617 GB, free: 301.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/7.623, allocations: 0 / 3.617 GB, free: 301.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005207/7.623, allocations: 0.6676 MB / 3.618 GB, free: 301.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/7.625, allocations: 1.153 MB / 3.619 GB, free: 300.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/7.625, allocations: 2.219 kB / 3.619 GB, free: 300.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005037/7.625, allocations: 109.9 kB / 3.619 GB, free: 300.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.413e-06/7.625, allocations: 3.812 kB / 3.619 GB, free: 300.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/7.625, allocations: 6.5 kB / 3.619 GB, free: 300.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001955/7.626, allocations: 0.5979 MB / 3.62 GB, free: 300.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/7.626, allocations: 7.719 kB / 3.62 GB, free: 300.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008729/7.627, allocations: 0.806 MB / 3.621 GB, free: 299.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002527/7.627, allocations: 179.2 kB / 3.621 GB, free: 299.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.177e-05/7.627, allocations: 7.969 kB / 3.621 GB, free: 299.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004783/7.627, allocations: 43.36 kB / 3.621 GB, free: 299.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.799e-05/7.627, allocations: 33.83 kB / 3.621 GB, free: 299.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-05/7.627, allocations: 15.06 kB / 3.621 GB, free: 299.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002736/7.628, allocations: 293.4 kB / 3.621 GB, free: 299.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.6e-07/7.628, allocations: 0 / 3.621 GB, free: 299.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001259/7.629, allocations: 437.2 kB / 3.622 GB, free: 299.2 MB / 1.151 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.002836/7.632, allocations: 3.275 MB / 3.625 GB, free: 297.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001145/7.633, allocations: 0.5771 MB / 3.625 GB, free: 297.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/7.633, allocations: 7.078 kB / 3.625 GB, free: 297.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002757/7.633, allocations: 185.3 kB / 3.626 GB, free: 297.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/7.635, allocations: 321.2 kB / 3.626 GB, free: 297 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/7.637, allocations: 1.24 MB / 3.627 GB, free: 296.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/7.638, allocations: 0.9597 MB / 3.628 GB, free: 295.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008229/7.638, allocations: 232.5 kB / 3.628 GB, free: 295.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002451/7.639, allocations: 222.4 kB / 3.629 GB, free: 295.6 MB / 1.151 GB Notification: Performance of SimCode: time 5.11e-07/7.639, allocations: 0 / 3.629 GB, free: 295.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05601/7.695, allocations: 26.58 MB / 3.654 GB, free: 287.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002216/7.695, allocations: 160.8 kB / 3.655 GB, free: 287.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.873/10.57, allocations: 3.25 kB / 3.655 GB, free: 287.4 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.Density_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_Density.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.Density_res.mat does not exist to compare? outputFormat=mat