Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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_9_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_9_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.0009533/0.0009532, allocations: 86.56 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.0008395/0.0008396, 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.384/1.384, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.481/2.481, allocations: 390.4 MB / 0.6655 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000343/0.0003431, allocations: 12 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7969/0.7973, allocations: 142.3 MB / 0.9538 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1932/0.9906, allocations: 152.2 MB / 1.102 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007262/0.9979, allocations: 6.064 MB / 1.108 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004892/0.9984, allocations: 11.88 kB / 1.108 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005325/0.9989, allocations: 123.1 kB / 1.109 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001811/1.001, allocations: 0.5909 MB / 1.109 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009819/1.002, allocations: 262.7 kB / 1.109 GB, free: 496 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009898/1.003, allocations: 0.8577 MB / 1.11 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003881/1.003, allocations: 209.3 kB / 1.11 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/1.004, allocations: 458.1 kB / 1.111 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003829/1.005, allocations: 275 kB / 1.111 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.111e-05/1.005, allocations: 12 kB / 1.111 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005959/1.005, allocations: 191.6 kB / 1.111 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001221/1.005, allocations: 95.69 kB / 1.111 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 8.627e-05/1.006, allocations: 85.52 kB / 1.111 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0003871/1.006, allocations: 319.2 kB / 1.112 GB, free: 14 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.006, allocations: 0 / 1.112 GB, free: 14 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.773e-06/1.006, allocations: 0 / 1.112 GB, free: 14 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.231e-06/1.006, allocations: 0 / 1.112 GB, free: 14 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.0007951/1.007, allocations: 0.565 MB / 1.112 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/1.007, allocations: 8.031 kB / 1.112 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.077e-05/1.007, allocations: 62.48 kB / 1.112 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003142/1.007, allocations: 71.47 kB / 1.112 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/1.008, allocations: 289.5 kB / 1.113 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/1.008, allocations: 16.56 kB / 1.113 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.926e-05/1.008, allocations: 35.95 kB / 1.113 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005122/1.008, allocations: 323.6 kB / 1.113 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/1.008, allocations: 11.97 kB / 1.113 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/1.008, allocations: 12 kB / 1.113 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/1.008, allocations: 4 kB / 1.113 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004001/1.009, allocations: 209.5 kB / 1.113 GB, free: 12.29 MB / 0.8731 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.001635/1.01, allocations: 1.534 MB / 1.115 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/1.011, allocations: 126.5 kB / 1.115 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/1.011, allocations: 100.8 kB / 1.115 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006394/1.011, allocations: 323.2 kB / 1.115 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/1.011, allocations: 34.56 kB / 1.115 GB, free: 9.977 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/1.011, allocations: 0 / 1.115 GB, free: 9.977 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.0007065/1.012, allocations: 300.3 kB / 1.116 GB, free: 9.68 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/1.012, allocations: 51.41 kB / 1.116 GB, free: 9.617 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003207/1.013, allocations: 312.5 kB / 1.116 GB, free: 9.305 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/1.013, allocations: 29.7 kB / 1.116 GB, free: 9.27 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/1.013, allocations: 180.1 kB / 1.116 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.895e-05/1.013, allocations: 43.45 kB / 1.116 GB, free: 9.047 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-06/1.013, allocations: 0 / 1.116 GB, free: 9.047 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001486/1.013, allocations: 346.8 kB / 1.117 GB, free: 8.699 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/1.013, allocations: 63.95 kB / 1.117 GB, free: 8.637 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/1.013, allocations: 122.7 kB / 1.117 GB, free: 8.5 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/1.014, allocations: 75.89 kB / 1.117 GB, free: 8.426 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.014, allocations: 0 / 1.117 GB, free: 8.426 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005231/1.014, allocations: 225.1 kB / 1.117 GB, free: 8.199 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/1.014, allocations: 4 kB / 1.117 GB, free: 8.195 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/1.014, allocations: 4 kB / 1.117 GB, free: 8.191 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/1.014, allocations: 0 / 1.117 GB, free: 8.191 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/1.014, allocations: 44.12 kB / 1.117 GB, free: 8.148 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/1.014, allocations: 4 kB / 1.117 GB, free: 8.145 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/1.015, allocations: 39.61 kB / 1.117 GB, free: 8.105 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/1.015, allocations: 12 kB / 1.117 GB, free: 8.094 MB / 0.8731 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.0001457/1.015, allocations: 145.8 kB / 1.117 GB, free: 7.941 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.515e-05/1.015, allocations: 27.72 kB / 1.117 GB, free: 7.914 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004362/1.015, allocations: 220.3 kB / 1.118 GB, free: 7.691 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/1.015, allocations: 0 / 1.118 GB, free: 7.691 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.015, allocations: 0 / 1.118 GB, free: 7.691 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.015, allocations: 0 / 1.118 GB, free: 7.691 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009717/1.016, allocations: 0.699 MB / 1.118 GB, free: 6.914 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.016, allocations: 0 / 1.118 GB, free: 6.914 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/1.016, allocations: 35.91 kB / 1.118 GB, free: 6.879 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/1.016, allocations: 4 kB / 1.118 GB, free: 6.875 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/1.016, allocations: 4 kB / 1.118 GB, free: 6.871 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/1.016, allocations: 0 / 1.118 GB, free: 6.871 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.016, allocations: 12.17 kB / 1.118 GB, free: 6.859 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004163/1.017, allocations: 349.1 kB / 1.119 GB, free: 6.48 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/1.017, allocations: 116.8 kB / 1.119 GB, free: 6.348 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.863e-05/1.017, allocations: 4 kB / 1.119 GB, free: 6.344 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/1.017, allocations: 23.98 kB / 1.119 GB, free: 6.32 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.36e-05/1.017, allocations: 15.94 kB / 1.119 GB, free: 6.305 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/1.017, allocations: 4 kB / 1.119 GB, free: 6.301 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002173/1.017, allocations: 223 kB / 1.119 GB, free: 6.082 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.017, allocations: 0 / 1.119 GB, free: 6.082 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003829/1.018, allocations: 71.84 kB / 1.119 GB, free: 6.012 MB / 0.8731 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.0009721/1.019, allocations: 0.9495 MB / 1.12 GB, free: 5.023 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003894/1.019, allocations: 165.7 kB / 1.12 GB, free: 4.863 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/1.019, allocations: 4 kB / 1.12 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001644/1.019, allocations: 83.88 kB / 1.12 GB, free: 4.777 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007732/1.02, allocations: 143.5 kB / 1.12 GB, free: 4.641 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/1.023, allocations: 1.665 MB / 1.122 GB, free: 2.891 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/1.023, allocations: 0.7836 MB / 1.123 GB, free: 2.082 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002063/1.023, allocations: 58.94 kB / 1.123 GB, free: 2.027 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/1.023, allocations: 91.41 kB / 1.123 GB, free: 1.938 MB / 0.8731 GB Notification: Performance of SimCode: time 8.72e-07/1.023, allocations: 3.938 kB / 1.123 GB, free: 1.934 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02029/1.044, allocations: 7.537 MB / 1.13 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001788/1.044, allocations: 220.8 kB / 1.13 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.937/2.981, allocations: 0 / 1.13 GB, free: 10.36 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat does not exist to compare? outputFormat=mat