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.261/2.261, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001265/0.001266, allocations: 176.9 kB / 492.3 MB, free: 0.6094 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.553/1.553, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.0009503/0.0009508, allocations: 88.89 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.991e-05/4.018e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3085, allocations: 142.3 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.426/5.735, allocations: 1.926 GB / 3.138 GB, free: 408.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/5.735, allocations: 89.78 kB / 3.138 GB, free: 408.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.643/7.378, allocations: 491.5 MB / 3.618 GB, free: 298 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.593e-06/7.378, allocations: 0 / 3.618 GB, free: 298 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.122e-05/7.379, allocations: 27.55 kB / 3.618 GB, free: 298 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.002486/7.381, allocations: 1.033 MB / 3.619 GB, free: 297.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/7.381, allocations: 7.688 kB / 3.619 GB, free: 297.5 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002183/7.381, allocations: 95.56 kB / 3.619 GB, free: 297.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002042/7.383, allocations: 276.7 kB / 3.619 GB, free: 297.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/7.385, allocations: 0.604 MB / 3.62 GB, free: 297.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.637e-05/7.385, allocations: 40.84 kB / 3.62 GB, free: 297.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/7.385, allocations: 65.84 kB / 3.62 GB, free: 297.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/7.386, allocations: 0.5913 MB / 3.621 GB, free: 297.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/7.386, allocations: 0 / 3.621 GB, free: 297.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.529e-05/7.386, allocations: 25.12 kB / 3.621 GB, free: 297.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/7.386, allocations: 21 kB / 3.621 GB, free: 297.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007596/7.387, allocations: 475.1 kB / 3.621 GB, free: 297.1 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.003012/7.39, allocations: 2.416 MB / 3.624 GB, free: 295.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005093/7.39, allocations: 343.5 kB / 3.624 GB, free: 295.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/7.391, allocations: 210.3 kB / 3.624 GB, free: 295.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004388/7.391, allocations: 304.7 kB / 3.624 GB, free: 295.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/7.391, allocations: 37.98 kB / 3.624 GB, free: 295.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=39): time 1.783e-06/7.391, allocations: 0 / 3.624 GB, free: 295.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=39): time 0.0008947/7.392, allocations: 437.3 kB / 3.625 GB, free: 295.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/7.392, allocations: 59.31 kB / 3.625 GB, free: 295.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004662/7.393, allocations: 431.7 kB / 3.625 GB, free: 295.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.705e-05/7.393, allocations: 34.58 kB / 3.625 GB, free: 295.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000164/7.393, allocations: 328.3 kB / 3.626 GB, free: 295 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/7.393, allocations: 146.1 kB / 3.626 GB, free: 295 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.137e-05/7.393, allocations: 7.188 kB / 3.626 GB, free: 295 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.96e-05/7.393, allocations: 366.2 kB / 3.626 GB, free: 294.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/7.393, allocations: 148.5 kB / 3.626 GB, free: 294.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003066/7.394, allocations: 265.6 kB / 3.627 GB, free: 294.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/7.394, allocations: 191.7 kB / 3.627 GB, free: 294.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/7.394, allocations: 3.391 kB / 3.627 GB, free: 294.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0006924/7.395, allocations: 499.6 kB / 3.627 GB, free: 294.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001832/7.395, allocations: 0.8749 MB / 3.628 GB, free: 293.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/7.395, allocations: 0 / 3.628 GB, free: 293.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/7.395, allocations: 12.45 kB / 3.628 GB, free: 293.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000555/7.395, allocations: 107.6 kB / 3.628 GB, free: 293.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002884/7.396, allocations: 0.5997 MB / 3.629 GB, free: 293 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006766/7.396, allocations: 80.2 kB / 3.629 GB, free: 292.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.198e-05/7.396, allocations: 22.39 kB / 3.629 GB, free: 292.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/7.396, allocations: 5.156 kB / 3.629 GB, free: 292.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000577/7.397, allocations: 415.2 kB / 3.629 GB, free: 292.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/7.397, allocations: 0 / 3.629 GB, free: 292.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-06/7.397, allocations: 7.781 kB / 3.629 GB, free: 292.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003861/7.397, allocations: 103 kB / 3.629 GB, free: 292.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/7.398, allocations: 7.891 kB / 3.629 GB, free: 292.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006387/7.398, allocations: 81.25 kB / 3.629 GB, free: 292.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.981e-05/7.398, allocations: 21.81 kB / 3.63 GB, free: 292.9 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.0001222/7.398, allocations: 131.2 kB / 3.63 GB, free: 292.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.704e-05/7.398, allocations: 61.59 kB / 3.63 GB, free: 292.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006521/7.399, allocations: 437.3 kB / 3.63 GB, free: 292.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/7.399, allocations: 7.438 kB / 3.63 GB, free: 292.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/7.399, allocations: 0 / 3.63 GB, free: 292.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000512/7.4, allocations: 0.6779 MB / 3.631 GB, free: 292.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/7.401, allocations: 1.229 MB / 3.632 GB, free: 291.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/7.401, allocations: 6.797 kB / 3.632 GB, free: 291.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004937/7.402, allocations: 110.4 kB / 3.632 GB, free: 291.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/7.402, allocations: 3.906 kB / 3.632 GB, free: 291.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.904e-05/7.402, allocations: 18.19 kB / 3.632 GB, free: 291.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001861/7.402, allocations: 0.5981 MB / 3.633 GB, free: 291.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/7.402, allocations: 3.391 kB / 3.633 GB, free: 291.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008085/7.403, allocations: 0.8079 MB / 3.633 GB, free: 291 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002724/7.403, allocations: 180.9 kB / 3.634 GB, free: 290.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.573e-05/7.403, allocations: 18.09 kB / 3.634 GB, free: 290.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004964/7.404, allocations: 54.81 kB / 3.634 GB, free: 290.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.56e-05/7.404, allocations: 29.7 kB / 3.634 GB, free: 290.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.938e-05/7.404, allocations: 17.42 kB / 3.634 GB, free: 290.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003288/7.404, allocations: 341.9 kB / 3.634 GB, free: 290.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.41e-07/7.404, allocations: 0 / 3.634 GB, free: 290.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00134/7.406, allocations: 497.3 kB / 3.635 GB, free: 290.7 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.002887/7.409, allocations: 3.116 MB / 3.638 GB, free: 289.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001044/7.41, allocations: 0.6213 MB / 3.638 GB, free: 289.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/7.41, allocations: 3.5 kB / 3.638 GB, free: 289.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000283/7.41, allocations: 195.8 kB / 3.638 GB, free: 289.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/7.411, allocations: 348.6 kB / 3.639 GB, free: 289.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/7.414, allocations: 1.286 MB / 3.64 GB, free: 288.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/7.414, allocations: 0.9596 MB / 3.641 GB, free: 288 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008366/7.415, allocations: 258.4 kB / 3.641 GB, free: 288 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002585/7.415, allocations: 220.9 kB / 3.641 GB, free: 288 MB / 1.151 GB Notification: Performance of SimCode: time 5.61e-07/7.415, allocations: 0 / 3.641 GB, free: 288 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07092/7.486, allocations: 42.68 MB / 3.683 GB, free: 279.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001396/7.486, allocations: 211.8 kB / 3.683 GB, free: 279.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.418/10.9, allocations: 3.984 kB / 3.683 GB, free: 279.6 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