Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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.183/2.183, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001542/0.001542, allocations: 168.9 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.838/1.838, allocations: 221.5 MB / 0.7824 GB, free: 1.004 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.001052/0.001052, allocations: 107.8 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.251e-05/2.253e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2596, allocations: 142.4 MB / 1.206 GB, free: 43.83 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.226/5.486, allocations: 1.912 GB / 3.118 GB, free: 433.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/5.486, allocations: 84.06 kB / 3.118 GB, free: 433.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.663/7.149, allocations: 437.4 MB / 3.545 GB, free: 298.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.685e-06/7.149, allocations: 0.6562 kB / 3.545 GB, free: 298.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.517e-05/7.149, allocations: 12.62 kB / 3.545 GB, free: 298.7 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.00201/7.151, allocations: 0.8529 MB / 3.546 GB, free: 298.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/7.152, allocations: 9.094 kB / 3.546 GB, free: 298.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/7.153, allocations: 147.9 kB / 3.546 GB, free: 298.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001908/7.155, allocations: 0.6805 MB / 3.547 GB, free: 298.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/7.155, allocations: 11.78 kB / 3.547 GB, free: 298.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.242e-05/7.155, allocations: 30.19 kB / 3.547 GB, free: 298.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005452/7.155, allocations: 251.4 kB / 3.547 GB, free: 298.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006656/7.156, allocations: 366.5 kB / 3.548 GB, free: 298 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/7.156, allocations: 1.062 kB / 3.548 GB, free: 298 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/7.156, allocations: 0 / 3.548 GB, free: 298 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/7.156, allocations: 12.47 kB / 3.548 GB, free: 298 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.002195/7.158, allocations: 1.889 MB / 3.55 GB, free: 296.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/7.159, allocations: 195.2 kB / 3.55 GB, free: 296.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/7.159, allocations: 111.6 kB / 3.55 GB, free: 296.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005453/7.159, allocations: 309.8 kB / 3.55 GB, free: 296.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/7.159, allocations: 34 kB / 3.55 GB, free: 296.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=24): time 3.466e-06/7.159, allocations: 3.75 kB / 3.55 GB, free: 296.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=24): time 0.001078/7.16, allocations: 381.4 kB / 3.551 GB, free: 296.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/7.16, allocations: 53.59 kB / 3.551 GB, free: 296.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/7.161, allocations: 227.9 kB / 3.551 GB, free: 296.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/7.161, allocations: 26.7 kB / 3.551 GB, free: 296.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/7.161, allocations: 239.8 kB / 3.551 GB, free: 296 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.291e-05/7.161, allocations: 81.58 kB / 3.551 GB, free: 296 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.34e-05/7.161, allocations: 2.844 kB / 3.551 GB, free: 296 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.578e-05/7.161, allocations: 347.3 kB / 3.552 GB, free: 295.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/7.161, allocations: 84.02 kB / 3.552 GB, free: 295.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/7.161, allocations: 172 kB / 3.552 GB, free: 295.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005356/7.162, allocations: 207.8 kB / 3.552 GB, free: 295.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/7.162, allocations: 1.594 kB / 3.552 GB, free: 295.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000829/7.163, allocations: 388.3 kB / 3.552 GB, free: 295.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/7.163, allocations: 7.094 kB / 3.552 GB, free: 295.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/7.163, allocations: 4.062 kB / 3.552 GB, free: 295.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/7.163, allocations: 4.156 kB / 3.552 GB, free: 295.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003002/7.163, allocations: 65.28 kB / 3.552 GB, free: 295.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/7.163, allocations: 4.094 kB / 3.552 GB, free: 295.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003138/7.164, allocations: 37.72 kB / 3.552 GB, free: 295.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.914e-05/7.164, allocations: 14.64 kB / 3.552 GB, free: 295.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.189e-05/7.164, allocations: 117.9 kB / 3.553 GB, free: 295.4 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007583/7.165, allocations: 348.5 kB / 3.553 GB, free: 295.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.18e-05/7.165, allocations: 34.31 kB / 3.553 GB, free: 295.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009243/7.166, allocations: 391.6 kB / 3.553 GB, free: 295.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/7.166, allocations: 2.859 kB / 3.553 GB, free: 295.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.453e-06/7.166, allocations: 1.156 kB / 3.553 GB, free: 295.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/7.166, allocations: 3.984 kB / 3.553 GB, free: 295.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/7.167, allocations: 0.9047 MB / 3.554 GB, free: 295 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/7.167, allocations: 5.312 kB / 3.554 GB, free: 295 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002737/7.168, allocations: 52.27 kB / 3.554 GB, free: 295 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/7.168, allocations: 2.781 kB / 3.554 GB, free: 295 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.747e-05/7.168, allocations: 11.38 kB / 3.554 GB, free: 295 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/7.168, allocations: 2.75 kB / 3.554 GB, free: 295 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/7.168, allocations: 5.938 kB / 3.554 GB, free: 295 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/7.169, allocations: 0.7046 MB / 3.555 GB, free: 294.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/7.169, allocations: 139.4 kB / 3.555 GB, free: 294.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.808e-05/7.169, allocations: 5.5 kB / 3.555 GB, free: 294.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/7.169, allocations: 24.12 kB / 3.555 GB, free: 294.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.435e-05/7.17, allocations: 19.94 kB / 3.555 GB, free: 294.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/7.17, allocations: 14.53 kB / 3.555 GB, free: 294.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001875/7.17, allocations: 176.7 kB / 3.555 GB, free: 294.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.4e-07/7.17, allocations: 0 / 3.555 GB, free: 294.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00101/7.171, allocations: 221.3 kB / 3.556 GB, free: 294.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004398/7.175, allocations: 3.336 MB / 3.559 GB, free: 292.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005378/7.176, allocations: 216.9 kB / 3.559 GB, free: 292.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/7.176, allocations: 1.156 kB / 3.559 GB, free: 292.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002376/7.176, allocations: 124.5 kB / 3.559 GB, free: 292.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007972/7.177, allocations: 126.8 kB / 3.559 GB, free: 292.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/7.179, allocations: 0.6681 MB / 3.56 GB, free: 292.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004997/7.179, allocations: 0.8342 MB / 3.561 GB, free: 291.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003681/7.18, allocations: 73.41 kB / 3.561 GB, free: 291.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/7.18, allocations: 145.4 kB / 3.561 GB, free: 291.8 MB / 1.151 GB Notification: Performance of SimCode: time 4.71e-07/7.18, allocations: 0 / 3.561 GB, free: 291.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06604/7.246, allocations: 19.72 MB / 3.58 GB, free: 291.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/7.246, allocations: 170.9 kB / 3.58 GB, free: 291.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.92/10.17, allocations: 0 / 3.58 GB, free: 291.4 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat does not exist to compare? outputFormat=mat