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.001486/0.001486, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.002028/0.002028, allocations: 168.7 kB / 15.95 MB, free: 204 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.501/1.501, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.637/2.637, allocations: 409.4 MB / 0.684 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004908/0.000491, allocations: 8 kB / 0.8378 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9264/0.9269, allocations: 146.8 MB / 0.9811 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2387/1.166, allocations: 152.2 MB / 1.13 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009603/1.175, allocations: 6.072 MB / 1.136 GB, free: 7.535 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000688/1.176, allocations: 7.938 kB / 1.136 GB, free: 7.527 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007267/1.177, allocations: 115.1 kB / 1.136 GB, free: 7.414 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002538/1.179, allocations: 0.5909 MB / 1.136 GB, free: 6.82 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001322/1.181, allocations: 278.3 kB / 1.137 GB, free: 6.551 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001609/1.182, allocations: 0.8499 MB / 1.137 GB, free: 5.699 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006254/1.183, allocations: 210.5 kB / 1.138 GB, free: 5.496 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001561/1.185, allocations: 462.1 kB / 1.138 GB, free: 5.043 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006729/1.185, allocations: 259 kB / 1.138 GB, free: 4.789 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.112e-05/1.185, allocations: 15.94 kB / 1.138 GB, free: 4.773 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007614/1.186, allocations: 199.5 kB / 1.139 GB, free: 4.578 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001872/1.186, allocations: 91.75 kB / 1.139 GB, free: 4.488 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001773/1.187, allocations: 85.52 kB / 1.139 GB, free: 4.398 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0006605/1.187, allocations: 319.2 kB / 1.139 GB, free: 4.086 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/1.187, allocations: 4 kB / 1.139 GB, free: 4.082 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.144e-06/1.187, allocations: 0 / 1.139 GB, free: 4.082 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.524e-05/1.187, allocations: 0 / 1.139 GB, free: 4.082 MB / 0.8887 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.001291/1.189, allocations: 0.5572 MB / 1.14 GB, free: 3.477 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.983e-05/1.189, allocations: 8.031 kB / 1.14 GB, free: 3.469 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001168/1.189, allocations: 62.53 kB / 1.14 GB, free: 3.398 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000398/1.189, allocations: 59.5 kB / 1.14 GB, free: 3.34 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005026/1.19, allocations: 313.3 kB / 1.14 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/1.19, allocations: 16.56 kB / 1.14 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.363e-05/1.19, allocations: 31.98 kB / 1.14 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006255/1.19, allocations: 315.7 kB / 1.14 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/1.19, allocations: 3.938 kB / 1.14 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/1.191, allocations: 12 kB / 1.14 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/1.191, allocations: 4 kB / 1.14 GB, free: 2.594 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004711/1.191, allocations: 213.6 kB / 1.141 GB, free: 2.387 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.001873/1.193, allocations: 1.546 MB / 1.142 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/1.193, allocations: 122.5 kB / 1.142 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/1.193, allocations: 96.8 kB / 1.142 GB, free: 488 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006486/1.194, allocations: 319.2 kB / 1.143 GB, free: 112 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/1.194, allocations: 38.5 kB / 1.143 GB, free: 64 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/1.194, allocations: 0 / 1.143 GB, free: 64 kB / 0.8887 GB Notification: Performance of matching and sorting (n=13): time 0.0008279/1.195, allocations: 288.3 kB / 1.143 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/1.195, allocations: 55.39 kB / 1.143 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000385/1.195, allocations: 312.5 kB / 1.143 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/1.195, allocations: 25.7 kB / 1.143 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/1.196, allocations: 188 kB / 1.143 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/1.196, allocations: 39.47 kB / 1.144 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.377e-06/1.196, allocations: 4 kB / 1.144 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001668/1.196, allocations: 342.8 kB / 1.144 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/1.196, allocations: 59.86 kB / 1.144 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/1.196, allocations: 129 kB / 1.144 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/1.196, allocations: 75.91 kB / 1.144 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/1.196, allocations: 4 kB / 1.144 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004344/1.197, allocations: 225.1 kB / 1.144 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/1.197, allocations: 4.938 kB / 1.144 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/1.197, allocations: 8.156 kB / 1.144 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/1.197, allocations: 0 / 1.144 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/1.197, allocations: 35.92 kB / 1.144 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/1.197, allocations: 7.984 kB / 1.144 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/1.197, allocations: 47.61 kB / 1.144 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/1.197, allocations: 8 kB / 1.144 GB, free: 14.18 MB / 0.9044 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.0001787/1.198, allocations: 149.8 kB / 1.145 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.556e-05/1.198, allocations: 23.72 kB / 1.145 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004666/1.198, allocations: 224.2 kB / 1.145 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/1.198, allocations: 8 kB / 1.145 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/1.198, allocations: 0 / 1.145 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/1.198, allocations: 0 / 1.145 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/1.199, allocations: 0.6913 MB / 1.145 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.199, allocations: 0 / 1.145 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/1.199, allocations: 31.92 kB / 1.146 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/1.199, allocations: 8.172 kB / 1.146 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/1.199, allocations: 8 kB / 1.146 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/1.199, allocations: 0 / 1.146 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/1.199, allocations: 12.05 kB / 1.146 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004636/1.2, allocations: 345 kB / 1.146 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/1.2, allocations: 112.8 kB / 1.146 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.393e-05/1.2, allocations: 19.88 kB / 1.146 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/1.2, allocations: 15.98 kB / 1.146 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.725e-05/1.2, allocations: 19.92 kB / 1.146 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/1.2, allocations: 4 kB / 1.146 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002602/1.201, allocations: 219.1 kB / 1.146 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.81e-07/1.201, allocations: 4 kB / 1.146 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004102/1.201, allocations: 79.83 kB / 1.146 GB, free: 12.08 MB / 0.9044 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.001104/1.202, allocations: 0.9307 MB / 1.147 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004113/1.203, allocations: 159.8 kB / 1.147 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.203, allocations: 0 / 1.147 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001863/1.203, allocations: 92.62 kB / 1.147 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008564/1.204, allocations: 144.7 kB / 1.148 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002948/1.207, allocations: 1.668 MB / 1.149 GB, free: 8.969 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/1.207, allocations: 0.7837 MB / 1.15 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002558/1.207, allocations: 62.92 kB / 1.15 GB, free: 8.098 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/1.208, allocations: 91.41 kB / 1.15 GB, free: 8.008 MB / 0.9044 GB Notification: Performance of SimCode: time 6.81e-07/1.208, allocations: 0 / 1.15 GB, free: 8.008 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02368/1.231, allocations: 7.516 MB / 1.158 GB, free: 0.7031 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/1.231, allocations: 237.1 kB / 1.158 GB, free: 468 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.941/3.172, allocations: 0 / 1.158 GB, free: 468 kB / 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