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.508/2.508, allocations: 390.5 MB / 398 MB, free: 10.92 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.001058/0.001058, allocations: 184.8 kB / 491.2 MB, free: 1.566 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.638/1.638, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.0009307/0.0009307, allocations: 97.42 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.986e-05/3.022e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3148, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.47/5.785, allocations: 1.926 GB / 3.138 GB, free: 341.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/5.785, allocations: 93.92 kB / 3.138 GB, free: 341.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.539/7.324, allocations: 486 MB / 3.613 GB, free: 300.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.252e-06/7.324, allocations: 0 / 3.613 GB, free: 300.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.741e-05/7.324, allocations: 21.5 kB / 3.613 GB, free: 300.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.002088/7.326, allocations: 1.036 MB / 3.614 GB, free: 300 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/7.326, allocations: 14.83 kB / 3.614 GB, free: 300 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00204/7.328, allocations: 267.6 kB / 3.614 GB, free: 299.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/7.329, allocations: 0.6118 MB / 3.615 GB, free: 299.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/7.329, allocations: 17.41 kB / 3.615 GB, free: 299.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/7.33, allocations: 34.58 kB / 3.615 GB, free: 299.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007397/7.33, allocations: 441.1 kB / 3.615 GB, free: 299.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008154/7.331, allocations: 0.5133 MB / 3.616 GB, free: 299.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/7.331, allocations: 3.906 kB / 3.616 GB, free: 299.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.81e-05/7.331, allocations: 6 kB / 3.616 GB, free: 299.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.523e-05/7.331, allocations: 19.09 kB / 3.616 GB, free: 299.2 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.002796/7.334, allocations: 2.32 MB / 3.618 GB, free: 297.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005058/7.335, allocations: 319.4 kB / 3.618 GB, free: 297.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/7.335, allocations: 195.4 kB / 3.618 GB, free: 297.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004557/7.335, allocations: 303.9 kB / 3.619 GB, free: 297 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/7.335, allocations: 42.64 kB / 3.619 GB, free: 297 MB / 1.151 GB Notification: Performance of pre-optimization done (n=39): time 2.044e-06/7.335, allocations: 3.891 kB / 3.619 GB, free: 297 MB / 1.151 GB Notification: Performance of matching and sorting (n=39): time 0.0009771/7.336, allocations: 435.1 kB / 3.619 GB, free: 296.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/7.336, allocations: 59.06 kB / 3.619 GB, free: 296.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003675/7.337, allocations: 366.1 kB / 3.62 GB, free: 296.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.98e-05/7.337, allocations: 28.77 kB / 3.62 GB, free: 296.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/7.337, allocations: 324.8 kB / 3.62 GB, free: 296.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.674e-05/7.337, allocations: 139.7 kB / 3.62 GB, free: 296.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.986e-05/7.337, allocations: 0 / 3.62 GB, free: 296.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.829e-05/7.337, allocations: 362.6 kB / 3.62 GB, free: 295.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/7.337, allocations: 136.8 kB / 3.621 GB, free: 295.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/7.338, allocations: 252.2 kB / 3.621 GB, free: 295.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000329/7.338, allocations: 199.1 kB / 3.621 GB, free: 295.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/7.338, allocations: 3.219 kB / 3.621 GB, free: 295.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007055/7.339, allocations: 484.7 kB / 3.621 GB, free: 295.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001831/7.339, allocations: 0.8757 MB / 3.622 GB, free: 294.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/7.339, allocations: 1.375 kB / 3.622 GB, free: 294.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/7.339, allocations: 7.594 kB / 3.622 GB, free: 294.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005835/7.34, allocations: 114.1 kB / 3.622 GB, free: 294.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002773/7.34, allocations: 0.595 MB / 3.623 GB, free: 293.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006388/7.34, allocations: 74.23 kB / 3.623 GB, free: 293.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.016e-05/7.341, allocations: 27.91 kB / 3.623 GB, free: 293.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/7.341, allocations: 3.281 kB / 3.623 GB, free: 293.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000587/7.341, allocations: 386.7 kB / 3.623 GB, free: 293.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/7.341, allocations: 3.531 kB / 3.623 GB, free: 293.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.803e-06/7.341, allocations: 3.875 kB / 3.623 GB, free: 293.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003844/7.342, allocations: 109.4 kB / 3.624 GB, free: 293.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.758e-06/7.342, allocations: 7.844 kB / 3.624 GB, free: 293.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005864/7.342, allocations: 66 kB / 3.624 GB, free: 293.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-05/7.342, allocations: 18.62 kB / 3.624 GB, free: 293.4 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.0001145/7.342, allocations: 119.2 kB / 3.624 GB, free: 293.3 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005812/7.343, allocations: 394.2 kB / 3.624 GB, free: 293.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.199e-05/7.343, allocations: 58.64 kB / 3.624 GB, free: 293.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006469/7.344, allocations: 430.7 kB / 3.625 GB, free: 292.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/7.344, allocations: 6.375 kB / 3.625 GB, free: 292.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/7.344, allocations: 3.844 kB / 3.625 GB, free: 292.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005424/7.344, allocations: 0.6661 MB / 3.625 GB, free: 292.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/7.346, allocations: 1.149 MB / 3.626 GB, free: 291.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/7.346, allocations: 0 / 3.626 GB, free: 291.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005132/7.346, allocations: 111.6 kB / 3.626 GB, free: 291.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.894e-06/7.346, allocations: 3.812 kB / 3.627 GB, free: 291.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.212e-05/7.346, allocations: 7.188 kB / 3.627 GB, free: 291.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001819/7.347, allocations: 0.592 MB / 3.627 GB, free: 290.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/7.347, allocations: 3.938 kB / 3.627 GB, free: 290.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008241/7.347, allocations: 0.8034 MB / 3.628 GB, free: 290.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000223/7.348, allocations: 183.8 kB / 3.628 GB, free: 290 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.498e-05/7.348, allocations: 3.438 kB / 3.628 GB, free: 290 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004876/7.348, allocations: 56.41 kB / 3.628 GB, free: 290 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.528e-05/7.348, allocations: 28.48 kB / 3.628 GB, free: 290 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/7.348, allocations: 17.48 kB / 3.628 GB, free: 290 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002687/7.349, allocations: 288.7 kB / 3.628 GB, free: 289.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/7.349, allocations: 0 / 3.628 GB, free: 289.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001211/7.35, allocations: 436.1 kB / 3.629 GB, free: 289.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.003302/7.353, allocations: 3.281 MB / 3.632 GB, free: 287.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001017/7.354, allocations: 0.5795 MB / 3.633 GB, free: 287.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/7.354, allocations: 0 / 3.633 GB, free: 287.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002873/7.355, allocations: 191.7 kB / 3.633 GB, free: 287.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/7.356, allocations: 312.8 kB / 3.633 GB, free: 287.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/7.358, allocations: 1.232 MB / 3.634 GB, free: 286.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/7.359, allocations: 0.9639 MB / 3.635 GB, free: 285.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008226/7.359, allocations: 243.5 kB / 3.635 GB, free: 285.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000261/7.36, allocations: 222.2 kB / 3.636 GB, free: 285.3 MB / 1.151 GB Notification: Performance of SimCode: time 4.31e-07/7.36, allocations: 0 / 3.636 GB, free: 285.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0494/7.409, allocations: 26.57 MB / 3.662 GB, free: 264.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001638/7.409, allocations: 155.1 kB / 3.662 GB, free: 264.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.91/10.32, allocations: 4.031 kB / 3.662 GB, free: 264.3 MB / 1.151 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