Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SpecificEnthalpy,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",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.0008607/0.0008607, allocations: 84.38 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.001011/0.001011, 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 3.2.3+maint.om/package.mo): time 1.856/1.856, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.741/1.741, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005384/0.0005384, allocations: 17.12 kB / 0.6738 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2911, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.8789/1.17, allocations: 146.5 MB / 0.9305 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005838/1.176, allocations: 4.226 MB / 0.9346 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003766/1.176, allocations: 11.03 kB / 0.9346 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005049/1.177, allocations: 83.64 kB / 0.9347 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009461/1.178, allocations: 255.3 kB / 0.9349 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007832/1.179, allocations: 227.7 kB / 0.9352 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008928/1.18, allocations: 0.6643 MB / 0.9358 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003566/1.18, allocations: 158 kB / 0.936 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000976/1.181, allocations: 359.8 kB / 0.9363 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002997/1.181, allocations: 188.9 kB / 0.9365 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.025e-05/1.181, allocations: 10.91 kB / 0.9365 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002043/1.181, allocations: 68.45 kB / 0.9366 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001275/1.182, allocations: 75.22 kB / 0.9366 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.262e-05/1.182, allocations: 71.66 kB / 0.9367 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003275/1.182, allocations: 204.3 kB / 0.9369 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/1.182, allocations: 0 / 0.9369 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.033e-06/1.182, allocations: 1.969 kB / 0.9369 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.941e-06/1.182, allocations: 0 / 0.9369 GB, free: 5.469 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001196/1.183, allocations: 0.505 MB / 0.9374 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/1.183, allocations: 7.031 kB / 0.9374 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.854e-05/1.183, allocations: 51.12 kB / 0.9374 GB, free: 21 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.964e-05/1.183, allocations: 26.31 kB / 0.9375 GB, free: 20.99 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003864/1.184, allocations: 271.4 kB / 0.9377 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/1.184, allocations: 20.8 kB / 0.9378 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.846e-05/1.184, allocations: 19.34 kB / 0.9378 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004453/1.184, allocations: 260.6 kB / 0.938 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/1.184, allocations: 1.406 kB / 0.938 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/1.184, allocations: 8.688 kB / 0.938 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/1.184, allocations: 7.125 kB / 0.938 GB, free: 20.65 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003321/1.185, allocations: 161.6 kB / 0.9382 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/1.186, allocations: 1.373 MB / 0.9395 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002965/1.187, allocations: 184.5 kB / 0.9397 GB, free: 19.42 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/1.187, allocations: 108.3 kB / 0.9398 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003608/1.187, allocations: 133.1 kB / 0.9399 GB, free: 19.26 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/1.187, allocations: 41.06 kB / 0.94 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/1.187, allocations: 0 / 0.94 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006451/1.188, allocations: 225.9 kB / 0.9402 GB, free: 19.17 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/1.188, allocations: 184.9 kB / 0.9404 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/1.188, allocations: 294.2 kB / 0.9406 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/1.188, allocations: 27.89 kB / 0.9407 GB, free: 18.81 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/1.188, allocations: 149.4 kB / 0.9408 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/1.189, allocations: 37.66 kB / 0.9409 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/1.189, allocations: 3.531 kB / 0.9409 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001716/1.189, allocations: 333 kB / 0.9412 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/1.189, allocations: 47.91 kB / 0.9412 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/1.189, allocations: 124 kB / 0.9413 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/1.189, allocations: 64.98 kB / 0.9414 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.189, allocations: 1.281 kB / 0.9414 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000474/1.19, allocations: 197.8 kB / 0.9416 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/1.19, allocations: 9.078 kB / 0.9416 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/1.19, allocations: 2.219 kB / 0.9416 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/1.19, allocations: 3.906 kB / 0.9416 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/1.19, allocations: 41.17 kB / 0.9416 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.48e-05/1.19, allocations: 5.438 kB / 0.9416 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/1.19, allocations: 29.47 kB / 0.9417 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.889e-05/1.19, allocations: 9.781 kB / 0.9417 GB, free: 18.23 MB / 0.7325 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 (15): * Single equations (assignments): 15 * 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.0002063/1.191, allocations: 146.4 kB / 0.9418 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/1.191, allocations: 26.19 kB / 0.9419 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004157/1.191, allocations: 146.7 kB / 0.942 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/1.191, allocations: 2.5 kB / 0.942 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/1.191, allocations: 1.562 kB / 0.942 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/1.191, allocations: 1.75 kB / 0.942 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009548/1.192, allocations: 0.7767 MB / 0.9428 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/1.192, allocations: 2.469 kB / 0.9428 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/1.192, allocations: 25.31 kB / 0.9428 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/1.192, allocations: 2.344 kB / 0.9428 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/1.192, allocations: 6.531 kB / 0.9428 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.249e-06/1.192, allocations: 7.188 kB / 0.9428 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.192, allocations: 2.344 kB / 0.9428 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006549/1.193, allocations: 361.2 kB / 0.9431 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/1.193, allocations: 106.9 kB / 0.9432 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.412e-05/1.193, allocations: 8.156 kB / 0.9433 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/1.193, allocations: 14.81 kB / 0.9433 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.394e-05/1.194, allocations: 18.92 kB / 0.9433 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/1.194, allocations: 4.406 kB / 0.9433 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003714/1.194, allocations: 207 kB / 0.9435 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/1.194, allocations: 0 / 0.9435 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000444/1.194, allocations: 54 kB / 0.9435 GB, free: 17.02 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.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 (10): * Single equations (assignments): 10 * 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.001584/1.196, allocations: 0.9172 MB / 0.9444 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005444/1.197, allocations: 133 kB / 0.9446 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/1.197, allocations: 0.6875 kB / 0.9446 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002079/1.197, allocations: 67.02 kB / 0.9446 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009134/1.198, allocations: 129.3 kB / 0.9447 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/1.201, allocations: 1.496 MB / 0.9462 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000552/1.202, allocations: 0.7592 MB / 0.947 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003126/1.202, allocations: 57.19 kB / 0.947 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/1.202, allocations: 73.98 kB / 0.9471 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of SimCode: time 1.984e-06/1.202, allocations: 0 / 0.9471 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02353/1.226, allocations: 6.308 MB / 0.9532 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/1.226, allocations: 224.5 kB / 0.9535 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/3.174, allocations: 1.469 kB / 0.9535 GB, free: 14.19 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) Environment - environmentSimulation: