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.385/2.385, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001139/0.001139, allocations: 179.9 kB / 0.4901 GB, free: 2.242 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.494/1.494, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.0009716/0.0009712, allocations: 99.02 kB / 0.9396 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004199/0.00042, allocations: 10.75 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3812, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.727/6.108, allocations: 1.926 GB / 3.156 GB, free: 54 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003356/6.109, allocations: 101 kB / 3.156 GB, free: 53.91 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.024/8.133, allocations: 491.9 MB / 3.636 GB, free: 25.54 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.037e-06/8.133, allocations: 0 / 3.636 GB, free: 25.54 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.191e-05/8.133, allocations: 23.94 kB / 3.636 GB, free: 25.51 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.003189/8.136, allocations: 1.149 MB / 3.637 GB, free: 24.31 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.643e-05/8.136, allocations: 12.83 kB / 3.637 GB, free: 24.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001415/8.136, allocations: 90.52 kB / 3.637 GB, free: 24.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002056/8.138, allocations: 271.1 kB / 3.638 GB, free: 23.94 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/8.14, allocations: 0.6146 MB / 3.638 GB, free: 23.28 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.959e-05/8.14, allocations: 41.31 kB / 3.638 GB, free: 23.24 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/8.14, allocations: 63.94 kB / 3.638 GB, free: 23.18 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/8.141, allocations: 0.6128 MB / 3.639 GB, free: 22.55 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.272e-05/8.141, allocations: 3.984 kB / 3.639 GB, free: 22.54 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.65e-05/8.141, allocations: 20 kB / 3.639 GB, free: 22.52 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-05/8.141, allocations: 21.31 kB / 3.639 GB, free: 22.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008086/8.142, allocations: 0.5048 MB / 3.639 GB, free: 22 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.003124/8.145, allocations: 2.424 MB / 3.642 GB, free: 19.36 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000588/8.146, allocations: 356.2 kB / 3.642 GB, free: 19.01 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005268/8.146, allocations: 307.6 kB / 3.642 GB, free: 18.65 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/8.146, allocations: 42.83 kB / 3.643 GB, free: 18.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=39): time 4.418e-06/8.146, allocations: 0 / 3.643 GB, free: 18.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=39): time 0.001308/8.148, allocations: 0.6093 MB / 3.643 GB, free: 17.99 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/8.148, allocations: 59.36 kB / 3.643 GB, free: 17.92 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004927/8.148, allocations: 442 kB / 3.644 GB, free: 17.48 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/8.148, allocations: 37.7 kB / 3.644 GB, free: 17.44 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/8.148, allocations: 328.4 kB / 3.644 GB, free: 17.11 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/8.149, allocations: 134 kB / 3.644 GB, free: 16.98 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-05/8.149, allocations: 12 kB / 3.644 GB, free: 16.97 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001142/8.149, allocations: 362.8 kB / 3.644 GB, free: 16.61 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/8.149, allocations: 164.8 kB / 3.645 GB, free: 16.45 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003419/8.149, allocations: 289.1 kB / 3.645 GB, free: 16.12 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003256/8.15, allocations: 211.8 kB / 3.645 GB, free: 15.91 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/8.15, allocations: 4 kB / 3.645 GB, free: 15.91 MB / 1.167 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008095/8.151, allocations: 0.5202 MB / 3.646 GB, free: 15.38 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002437/8.151, allocations: 0.8853 MB / 3.646 GB, free: 14.43 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/8.151, allocations: 0 / 3.646 GB, free: 14.43 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/8.151, allocations: 4 kB / 3.646 GB, free: 14.42 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005967/8.151, allocations: 111.8 kB / 3.647 GB, free: 14.31 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003657/8.152, allocations: 0.5938 MB / 3.647 GB, free: 13.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007443/8.153, allocations: 91.56 kB / 3.647 GB, free: 13.61 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.423e-05/8.153, allocations: 20 kB / 3.647 GB, free: 13.59 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/8.153, allocations: 4 kB / 3.647 GB, free: 13.58 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007044/8.153, allocations: 451.8 kB / 3.648 GB, free: 13.14 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/8.153, allocations: 7.938 kB / 3.648 GB, free: 13.13 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.62e-06/8.153, allocations: 4 kB / 3.648 GB, free: 13.13 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000384/8.154, allocations: 103.8 kB / 3.648 GB, free: 13.03 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/8.154, allocations: 4 kB / 3.648 GB, free: 13.02 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005696/8.154, allocations: 79.61 kB / 3.648 GB, free: 12.95 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/8.154, allocations: 27.98 kB / 3.648 GB, free: 12.92 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 () * Number of clocked 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.0004352/8.155, allocations: 308.9 kB / 3.648 GB, free: 12.61 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/8.155, allocations: 55.34 kB / 3.648 GB, free: 12.55 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008555/8.156, allocations: 488 kB / 3.649 GB, free: 12.07 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/8.156, allocations: 4 kB / 3.649 GB, free: 12.06 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/8.156, allocations: 3.938 kB / 3.649 GB, free: 12.06 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000695/8.157, allocations: 0.7065 MB / 3.649 GB, free: 11.27 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001844/8.158, allocations: 1.292 MB / 3.651 GB, free: 9.895 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/8.158, allocations: 4 kB / 3.651 GB, free: 9.891 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005358/8.159, allocations: 107.9 kB / 3.651 GB, free: 9.785 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/8.159, allocations: 4 kB / 3.651 GB, free: 9.781 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.113e-05/8.159, allocations: 8 kB / 3.651 GB, free: 9.773 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002424/8.159, allocations: 0.6017 MB / 3.651 GB, free: 9.148 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/8.159, allocations: 4.031 kB / 3.651 GB, free: 9.145 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/8.16, allocations: 0.8648 MB / 3.652 GB, free: 8.195 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002842/8.161, allocations: 184.4 kB / 3.652 GB, free: 7.996 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.756e-05/8.161, allocations: 8 kB / 3.652 GB, free: 7.988 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004962/8.161, allocations: 51.86 kB / 3.652 GB, free: 7.938 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.15e-05/8.161, allocations: 27.97 kB / 3.652 GB, free: 7.91 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/8.161, allocations: 19.98 kB / 3.653 GB, free: 7.891 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0003888/8.162, allocations: 346.8 kB / 3.653 GB, free: 7.555 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.31e-07/8.162, allocations: 3.938 kB / 3.653 GB, free: 7.551 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001791/8.164, allocations: 491.1 kB / 3.653 GB, free: 7.07 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 () * Number of clocked 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.003968/8.168, allocations: 3.166 MB / 3.656 GB, free: 3.793 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00151/8.169, allocations: 0.6642 MB / 3.657 GB, free: 3.129 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/8.169, allocations: 3.938 kB / 3.657 GB, free: 3.125 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003641/8.169, allocations: 223.9 kB / 3.657 GB, free: 2.906 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/8.171, allocations: 353.8 kB / 3.658 GB, free: 2.566 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9249/9.096, allocations: 5.16 MB / 3.663 GB, free: 302.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005694/9.097, allocations: 0.9636 MB / 3.664 GB, free: 301.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009647/9.098, allocations: 197.2 kB / 3.664 GB, free: 301.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004087/9.098, allocations: 230.8 kB / 3.664 GB, free: 301.5 MB / 1.167 GB Notification: Performance of SimCode: time 2.194e-06/9.098, allocations: 0 / 3.664 GB, free: 301.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1008/9.199, allocations: 38.19 MB / 3.701 GB, free: 301.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002581/9.199, allocations: 243.4 kB / 3.702 GB, free: 300.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.519/12.72, allocations: 0 / 3.702 GB, free: 300.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