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.001294/0.001294, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 189 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.615/1.615, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001406/0.001406, allocations: 70.64 kB / 0.6718 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2118, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5705/0.7824, allocations: 161.4 MB / 0.9412 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007094/0.7895, allocations: 4.546 MB / 0.9457 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004857/0.79, allocations: 9.688 kB / 0.9457 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005389/0.7906, allocations: 127.5 kB / 0.9458 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001153/0.7918, allocations: 330.8 kB / 0.9461 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.793, allocations: 275.4 kB / 0.9464 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007352/0.7937, allocations: 0.5652 MB / 0.9469 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003599/0.7941, allocations: 201.5 kB / 0.9471 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009298/0.795, allocations: 459.1 kB / 0.9475 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002769/0.7953, allocations: 189.1 kB / 0.9477 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.532e-05/0.7954, allocations: 16.88 kB / 0.9477 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/0.7955, allocations: 82.23 kB / 0.9478 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.701e-05/0.7956, allocations: 90.47 kB / 0.9479 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.7958, allocations: 117.3 kB / 0.948 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003797/0.7962, allocations: 304.7 kB / 0.9483 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7962, allocations: 0.875 kB / 0.9483 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7962, allocations: 0 / 0.9483 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.7962, allocations: 1.656 kB / 0.9483 GB, free: 1.441 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.0008492/0.7971, allocations: 0.5378 MB / 0.9488 GB, free: 17 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.7971, allocations: 9.688 kB / 0.9488 GB, free: 17 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.321e-05/0.7972, allocations: 52.69 kB / 0.9489 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.122e-05/0.7972, allocations: 29.28 kB / 0.9489 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004058/0.7977, allocations: 286.9 kB / 0.9492 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.7977, allocations: 11.28 kB / 0.9492 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.828e-05/0.7977, allocations: 23.77 kB / 0.9492 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004446/0.7982, allocations: 260.7 kB / 0.9495 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.7982, allocations: 5.031 kB / 0.9495 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.7982, allocations: 13.16 kB / 0.9495 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.7983, allocations: 6.016 kB / 0.9495 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003643/0.7986, allocations: 147.7 kB / 0.9496 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/0.7999, allocations: 1.367 MB / 0.951 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/0.8002, allocations: 185.7 kB / 0.9512 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.8004, allocations: 102.2 kB / 0.9512 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003401/0.8007, allocations: 113.7 kB / 0.9514 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.8008, allocations: 47.11 kB / 0.9514 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.8008, allocations: 4.438 kB / 0.9514 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006498/0.8014, allocations: 202 kB / 0.9516 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.318e-05/0.8015, allocations: 191.1 kB / 0.9518 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.8018, allocations: 292.9 kB / 0.9521 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.8018, allocations: 28.11 kB / 0.9521 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.034e-05/0.8019, allocations: 145.2 kB / 0.9522 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.802, allocations: 39.91 kB / 0.9523 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.645e-05/0.802, allocations: 34.5 kB / 0.9523 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.8021, allocations: 334.3 kB / 0.9526 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.8023, allocations: 48.3 kB / 0.9527 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.8024, allocations: 118.2 kB / 0.9528 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.8027, allocations: 156.6 kB / 0.9529 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.8027, allocations: 1.438 kB / 0.9529 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003446/0.8031, allocations: 191.6 kB / 0.9531 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.8031, allocations: 11.81 kB / 0.9531 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.8031, allocations: 4.391 kB / 0.9531 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.8031, allocations: 2.688 kB / 0.9531 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.8032, allocations: 28.11 kB / 0.9532 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.8033, allocations: 2.656 kB / 0.9532 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.8034, allocations: 35.47 kB / 0.9532 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.8035, allocations: 10.59 kB / 0.9532 GB, free: 14.04 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.8036, allocations: 140.6 kB / 0.9533 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.8037, allocations: 32.52 kB / 0.9534 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003058/0.804, allocations: 133.8 kB / 0.9535 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.804, allocations: 3.516 kB / 0.9535 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.804, allocations: 1.25 kB / 0.9535 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.8041, allocations: 2.344 kB / 0.9535 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008441/0.8049, allocations: 0.767 MB / 0.9542 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.8049, allocations: 1.594 kB / 0.9543 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.8051, allocations: 29.33 kB / 0.9543 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.8051, allocations: 6.906 kB / 0.9543 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.8051, allocations: 8.781 kB / 0.9543 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.8051, allocations: 3.953 kB / 0.9543 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.8051, allocations: 1.438 kB / 0.9543 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005019/0.8056, allocations: 337.6 kB / 0.9546 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.282e-05/0.8057, allocations: 112.5 kB / 0.9547 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.8058, allocations: 1.281 kB / 0.9547 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.8059, allocations: 10.56 kB / 0.9547 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.8059, allocations: 19.34 kB / 0.9548 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.806, allocations: 10.17 kB / 0.9548 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000181/0.8061, allocations: 209.4 kB / 0.955 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8061, allocations: 0 / 0.955 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003494/0.8065, allocations: 55.47 kB / 0.955 GB, free: 12.8 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009802/0.8075, allocations: 0.9044 MB / 0.9559 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003233/0.8078, allocations: 126.1 kB / 0.956 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.8078, allocations: 0 / 0.956 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.808, allocations: 63.98 kB / 0.9561 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000718/0.8087, allocations: 136.8 kB / 0.9562 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002984/0.8117, allocations: 2.585 MB / 0.9587 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.812, allocations: 0.7612 MB / 0.9595 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001682/0.8122, allocations: 53.47 kB / 0.9595 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.749e-05/0.8123, allocations: 69.67 kB / 0.9596 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of SimCode: time 1.673e-06/0.8123, allocations: 0 / 0.9596 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04765/0.86, allocations: 6.797 MB / 0.9662 GB, free: 9.062 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.746/8.606, allocations: 11.06 kB / 0.9662 GB, free: 9.055 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/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)