Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009485/0.0009485, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.601/1.601, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.773/3.773, allocations: 409.2 MB / 0.6838 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004824/0.0004827, allocations: 8 kB / 0.8375 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.971/0.9715, allocations: 146.8 MB / 0.9809 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1788/1.15, allocations: 140.3 MB / 1.118 GB, free: 9.582 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006587/1.157, allocations: 5.264 MB / 1.123 GB, free: 4.309 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000469/1.158, allocations: 11.94 kB / 1.123 GB, free: 4.297 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0008061/1.158, allocations: 199.1 kB / 1.123 GB, free: 4.102 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001741/1.16, allocations: 0.5646 MB / 1.124 GB, free: 3.535 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001023/1.161, allocations: 349 kB / 1.124 GB, free: 3.199 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0006074/1.162, allocations: 428 kB / 1.125 GB, free: 2.781 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003958/1.162, allocations: 221.3 kB / 1.125 GB, free: 2.566 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/1.163, allocations: 430.7 kB / 1.125 GB, free: 2.145 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003181/1.164, allocations: 195.3 kB / 1.125 GB, free: 1.953 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.949e-05/1.164, allocations: 12 kB / 1.125 GB, free: 1.941 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005548/1.164, allocations: 207.6 kB / 1.126 GB, free: 1.738 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001132/1.164, allocations: 91.72 kB / 1.126 GB, free: 1.648 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 7.964e-05/1.164, allocations: 81.52 kB / 1.126 GB, free: 1.562 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0003904/1.165, allocations: 311.1 kB / 1.126 GB, free: 1.262 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/1.165, allocations: 0 / 1.126 GB, free: 1.262 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.144e-06/1.165, allocations: 4 kB / 1.126 GB, free: 1.258 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.603e-06/1.165, allocations: 0 / 1.126 GB, free: 1.258 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008179/1.166, allocations: 0.565 MB / 1.127 GB, free: 0.6445 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/1.166, allocations: 8.031 kB / 1.127 GB, free: 0.6367 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.909e-05/1.166, allocations: 62.53 kB / 1.127 GB, free: 0.5664 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002923/1.166, allocations: 59.5 kB / 1.127 GB, free: 0.5078 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/1.166, allocations: 301.4 kB / 1.127 GB, free: 176 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/1.167, allocations: 16.56 kB / 1.127 GB, free: 160 kB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/1.167, allocations: 39.86 kB / 1.127 GB, free: 120 kB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005104/1.167, allocations: 311.7 kB / 1.127 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/1.167, allocations: 7.922 kB / 1.127 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/1.167, allocations: 12 kB / 1.127 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/1.167, allocations: 8 kB / 1.127 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000403/1.168, allocations: 209.6 kB / 1.128 GB, free: 15.56 MB / 0.8887 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.001531/1.169, allocations: 1.531 MB / 1.129 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/1.169, allocations: 134.5 kB / 1.129 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004235/1.17, allocations: 133 kB / 1.129 GB, free: 13.6 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/1.17, allocations: 34.56 kB / 1.129 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/1.17, allocations: 0 / 1.129 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of matching and sorting (n=13): time 0.00076/1.171, allocations: 293.4 kB / 1.13 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/1.171, allocations: 55.41 kB / 1.13 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003085/1.171, allocations: 316.4 kB / 1.13 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/1.171, allocations: 33.7 kB / 1.13 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/1.171, allocations: 180.1 kB / 1.13 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/1.171, allocations: 35.45 kB / 1.13 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-06/1.171, allocations: 4 kB / 1.13 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001216/1.171, allocations: 338.8 kB / 1.131 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/1.171, allocations: 67.86 kB / 1.131 GB, free: 12.22 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/1.172, allocations: 118.7 kB / 1.131 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/1.172, allocations: 79.89 kB / 1.131 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.172, allocations: 0 / 1.131 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004157/1.172, allocations: 225.2 kB / 1.131 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/1.172, allocations: 11.94 kB / 1.131 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/1.172, allocations: 0 / 1.131 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/1.172, allocations: 4 kB / 1.131 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/1.173, allocations: 43.97 kB / 1.131 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/1.173, allocations: 3.938 kB / 1.131 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/1.173, allocations: 39.8 kB / 1.131 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/1.173, allocations: 15.95 kB / 1.131 GB, free: 11.66 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001244/1.173, allocations: 141.8 kB / 1.131 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/1.173, allocations: 27.72 kB / 1.131 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004184/1.173, allocations: 228.2 kB / 1.132 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/1.173, allocations: 0 / 1.132 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/1.173, allocations: 0 / 1.132 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/1.173, allocations: 0 / 1.132 GB, free: 11.26 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000948/1.174, allocations: 0.6913 MB / 1.132 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/1.174, allocations: 224 / 1.132 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/1.175, allocations: 39.91 kB / 1.132 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/1.175, allocations: 4 kB / 1.132 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/1.175, allocations: 7.953 kB / 1.132 GB, free: 10.44 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/1.175, allocations: 4 kB / 1.132 GB, free: 10.44 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.175, allocations: 0 / 1.132 GB, free: 10.44 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004907/1.175, allocations: 431.9 kB / 1.133 GB, free: 9.938 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/1.175, allocations: 116.8 kB / 1.133 GB, free: 9.805 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/1.175, allocations: 11.94 kB / 1.133 GB, free: 9.793 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/1.175, allocations: 19.98 kB / 1.133 GB, free: 9.773 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/1.175, allocations: 11.98 kB / 1.133 GB, free: 9.762 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/1.175, allocations: 4 kB / 1.133 GB, free: 9.758 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001969/1.176, allocations: 223 kB / 1.133 GB, free: 9.539 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.51e-07/1.176, allocations: 7.938 kB / 1.133 GB, free: 9.531 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003748/1.176, allocations: 75.84 kB / 1.133 GB, free: 9.457 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.001081/1.177, allocations: 1.503 MB / 1.135 GB, free: 7.887 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0003855/1.178, allocations: 168 kB / 1.135 GB, free: 7.723 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.178, allocations: 0 / 1.135 GB, free: 7.723 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001764/1.178, allocations: 83.89 kB / 1.135 GB, free: 7.641 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007182/1.178, allocations: 142.8 kB / 1.135 GB, free: 7.508 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002604/1.181, allocations: 2.397 MB / 1.137 GB, free: 5.016 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/1.181, allocations: 0.7914 MB / 1.138 GB, free: 4.199 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002041/1.182, allocations: 58.94 kB / 1.138 GB, free: 4.141 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/1.182, allocations: 91.41 kB / 1.138 GB, free: 4.051 MB / 0.8887 GB Notification: Performance of SimCode: time 3.11e-07/1.182, allocations: 0 / 1.138 GB, free: 4.051 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/1.202, allocations: 7.516 MB / 1.146 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/1.202, allocations: 225.4 kB / 1.146 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.993/3.194, allocations: 4.062 kB / 1.146 GB, free: 12.5 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat does not exist to compare? outputFormat=mat