Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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.557/2.557, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.00144/0.00144, allocations: 180 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.701/1.701, allocations: 223.1 MB / 0.7992 GB, free: 14.72 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.001135/0.001135, allocations: 102.3 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000447/0.0004468, allocations: 10.59 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4057, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.851/6.257, allocations: 1.914 GB / 3.143 GB, free: 39.86 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004637/6.257, allocations: 92.14 kB / 3.143 GB, free: 39.81 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.704/7.961, allocations: 442.9 MB / 3.576 GB, free: 70.39 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.773e-06/7.961, allocations: 0 / 3.576 GB, free: 70.39 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.56e-05/7.961, allocations: 24.14 kB / 3.576 GB, free: 70.36 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001736/7.963, allocations: 0.9 MB / 3.576 GB, free: 69.41 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/7.963, allocations: 12.81 kB / 3.576 GB, free: 69.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.488e-05/7.963, allocations: 82.53 kB / 3.577 GB, free: 69.31 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009315/7.964, allocations: 143.2 kB / 3.577 GB, free: 69.17 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/7.966, allocations: 0.6906 MB / 3.577 GB, free: 68.44 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/7.966, allocations: 33 kB / 3.577 GB, free: 68.41 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.01e-05/7.966, allocations: 43.95 kB / 3.577 GB, free: 68.37 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006235/7.966, allocations: 442.4 kB / 3.578 GB, free: 67.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/7.966, allocations: 4 kB / 3.578 GB, free: 67.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/7.966, allocations: 12 kB / 3.578 GB, free: 67.89 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/7.966, allocations: 12 kB / 3.578 GB, free: 67.88 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005042/7.967, allocations: 319.8 kB / 3.578 GB, free: 67.57 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.001739/7.969, allocations: 1.992 MB / 3.58 GB, free: 65.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000317/7.969, allocations: 234.3 kB / 3.58 GB, free: 65.16 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004831/7.969, allocations: 307.2 kB / 3.581 GB, free: 64.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/7.97, allocations: 30.56 kB / 3.581 GB, free: 64.77 MB / 1.167 GB Notification: Performance of pre-optimization done (n=24): time 2.465e-06/7.97, allocations: 0 / 3.581 GB, free: 64.77 MB / 1.167 GB Notification: Performance of matching and sorting (n=24): time 0.0008839/7.97, allocations: 431.5 kB / 3.581 GB, free: 64.34 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/7.97, allocations: 63.33 kB / 3.581 GB, free: 64.27 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/7.971, allocations: 345.1 kB / 3.582 GB, free: 63.93 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/7.971, allocations: 33.7 kB / 3.582 GB, free: 63.89 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/7.971, allocations: 240.1 kB / 3.582 GB, free: 63.65 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 4.876e-05/7.971, allocations: 82.8 kB / 3.582 GB, free: 63.57 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.279e-05/7.971, allocations: 8 kB / 3.582 GB, free: 63.56 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.07e-05/7.971, allocations: 346.8 kB / 3.582 GB, free: 63.21 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/7.971, allocations: 103.9 kB / 3.582 GB, free: 63.11 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/7.971, allocations: 198.2 kB / 3.582 GB, free: 62.88 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/7.972, allocations: 136.7 kB / 3.583 GB, free: 62.75 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/7.972, allocations: 0 / 3.583 GB, free: 62.75 MB / 1.167 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005171/7.972, allocations: 355.6 kB / 3.583 GB, free: 62.39 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/7.972, allocations: 8 kB / 3.583 GB, free: 62.39 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/7.972, allocations: 4 kB / 3.583 GB, free: 62.38 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/7.972, allocations: 7.938 kB / 3.583 GB, free: 62.38 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/7.973, allocations: 60.19 kB / 3.583 GB, free: 62.32 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/7.973, allocations: 11.94 kB / 3.583 GB, free: 62.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/7.973, allocations: 55.5 kB / 3.583 GB, free: 62.25 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.096e-05/7.973, allocations: 16 kB / 3.583 GB, free: 62.23 MB / 1.167 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 () * Number of clocked 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 0.0001795/7.973, allocations: 169.8 kB / 3.583 GB, free: 62.06 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.968e-05/7.973, allocations: 43.48 kB / 3.583 GB, free: 62.02 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005985/7.974, allocations: 345.1 kB / 3.584 GB, free: 61.67 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/7.974, allocations: 4 kB / 3.584 GB, free: 61.67 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/7.974, allocations: 7.984 kB / 3.584 GB, free: 61.66 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/7.974, allocations: 0 / 3.584 GB, free: 61.66 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/7.975, allocations: 0.9107 MB / 3.585 GB, free: 60.67 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/7.975, allocations: 0 / 3.585 GB, free: 60.67 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/7.975, allocations: 47.97 kB / 3.585 GB, free: 60.62 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/7.975, allocations: 4 kB / 3.585 GB, free: 60.62 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/7.975, allocations: 12.22 kB / 3.585 GB, free: 60.61 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/7.975, allocations: 7.938 kB / 3.585 GB, free: 60.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/7.975, allocations: 4 kB / 3.585 GB, free: 60.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007823/7.976, allocations: 0.6904 MB / 3.585 GB, free: 59.83 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/7.976, allocations: 148.6 kB / 3.585 GB, free: 59.66 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.797e-05/7.976, allocations: 11.94 kB / 3.585 GB, free: 59.65 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/7.977, allocations: 32.03 kB / 3.585 GB, free: 59.62 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/7.977, allocations: 15.94 kB / 3.585 GB, free: 59.61 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/7.977, allocations: 15.94 kB / 3.585 GB, free: 59.59 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0002257/7.977, allocations: 279.1 kB / 3.586 GB, free: 59.32 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.41e-07/7.977, allocations: 4 kB / 3.586 GB, free: 59.32 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0009741/7.978, allocations: 255.8 kB / 3.586 GB, free: 59.07 MB / 1.167 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 () * Number of clocked 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.002968/7.981, allocations: 3.135 MB / 3.589 GB, free: 55.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0005313/7.981, allocations: 273.2 kB / 3.589 GB, free: 55.54 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/7.981, allocations: 4 kB / 3.589 GB, free: 55.53 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002161/7.982, allocations: 148.2 kB / 3.589 GB, free: 55.39 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009424/7.983, allocations: 204.8 kB / 3.59 GB, free: 55.19 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003096/7.986, allocations: 3.474 MB / 3.593 GB, free: 51.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/7.986, allocations: 0.8314 MB / 3.594 GB, free: 50.74 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.000354/7.986, allocations: 95.36 kB / 3.594 GB, free: 50.65 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/7.987, allocations: 139.4 kB / 3.594 GB, free: 50.51 MB / 1.167 GB Notification: Performance of SimCode: time 1.192e-06/7.987, allocations: 0 / 3.594 GB, free: 50.51 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05339/8.04, allocations: 34.45 MB / 3.628 GB, free: 16.31 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/8.04, allocations: 227.9 kB / 3.628 GB, free: 16.07 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.117/11.16, allocations: 0 / 3.628 GB, free: 16.07 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat does not exist to compare? outputFormat=mat