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.001273/0.001273, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001154/0.001154, allocations: 195.9 kB / 16.14 MB, free: 6.664 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.377/1.377, allocations: 205.1 MB / 222 MB, free: 4.988 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.659/1.659, allocations: 292.3 MB / 0.5484 GB, free: 13.69 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.001522/0.001522, allocations: 68.73 kB / 0.6709 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1992, allocations: 114.6 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5209/0.7201, allocations: 159.1 MB / 0.9382 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003915/0.7241, allocations: 4.552 MB / 0.9426 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002366/0.7243, allocations: 8.469 kB / 0.9426 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003427/0.7247, allocations: 105.4 kB / 0.9427 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0006038/0.7253, allocations: 308.2 kB / 0.943 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005499/0.7259, allocations: 246.6 kB / 0.9433 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005945/0.7265, allocations: 0.7958 MB / 0.944 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002358/0.7267, allocations: 172 kB / 0.9442 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007581/0.7275, allocations: 421.1 kB / 0.9446 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.7277, allocations: 207.3 kB / 0.9448 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.986e-05/0.7278, allocations: 10.72 kB / 0.9448 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.7279, allocations: 69.78 kB / 0.9449 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.341e-05/0.728, allocations: 77.22 kB / 0.945 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.7282, allocations: 119 kB / 0.9451 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000321/0.7285, allocations: 283.4 kB / 0.9453 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.7285, allocations: 0 / 0.9453 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7285, allocations: 0.5156 kB / 0.9453 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.7285, allocations: 0 / 0.9453 GB, free: 5.621 MB / 0.7325 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.0008975/0.7294, allocations: 0.5327 MB / 0.9459 GB, free: 21.19 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.7295, allocations: 12.5 kB / 0.9459 GB, free: 21.18 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.708e-05/0.7295, allocations: 54.38 kB / 0.9459 GB, free: 21.14 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.066e-05/0.7296, allocations: 32.69 kB / 0.9459 GB, free: 21.12 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.7299, allocations: 274.8 kB / 0.9462 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.7299, allocations: 15.28 kB / 0.9462 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.436e-05/0.73, allocations: 16.72 kB / 0.9462 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003705/0.7303, allocations: 266.2 kB / 0.9465 GB, free: 20.79 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.7303, allocations: 2.719 kB / 0.9465 GB, free: 20.79 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.7304, allocations: 7.625 kB / 0.9465 GB, free: 20.79 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-06/0.7304, allocations: 4.938 kB / 0.9465 GB, free: 20.79 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003091/0.7307, allocations: 155.6 kB / 0.9467 GB, free: 20.78 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.7318, allocations: 1.374 MB / 0.948 GB, free: 19.7 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.732, allocations: 175.5 kB / 0.9482 GB, free: 19.55 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.7322, allocations: 97.8 kB / 0.9483 GB, free: 19.5 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003343/0.7325, allocations: 117.3 kB / 0.9484 GB, free: 19.41 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.7326, allocations: 46.89 kB / 0.9484 GB, free: 19.36 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.7326, allocations: 0 / 0.9484 GB, free: 19.36 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10): time 0.0005616/0.7332, allocations: 207.6 kB / 0.9486 GB, free: 19.32 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.241e-05/0.7332, allocations: 186.5 kB / 0.9488 GB, free: 19.1 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.7335, allocations: 284.3 kB / 0.9491 GB, free: 18.99 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.7335, allocations: 33.8 kB / 0.9491 GB, free: 18.96 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.025e-05/0.7336, allocations: 146.4 kB / 0.9492 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.7337, allocations: 40.47 kB / 0.9493 GB, free: 18.84 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.527e-05/0.7337, allocations: 35.09 kB / 0.9493 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002092/0.7339, allocations: 334.9 kB / 0.9496 GB, free: 18.51 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.7341, allocations: 48.19 kB / 0.9497 GB, free: 18.51 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.7342, allocations: 124.1 kB / 0.9498 GB, free: 18.43 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/0.7345, allocations: 161.6 kB / 0.9499 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7345, allocations: 0 / 0.9499 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003441/0.7349, allocations: 191.3 kB / 0.9501 GB, free: 18.32 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.7349, allocations: 9.812 kB / 0.9501 GB, free: 18.31 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.7349, allocations: 3.562 kB / 0.9501 GB, free: 18.31 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.7349, allocations: 3 kB / 0.9501 GB, free: 18.31 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.7351, allocations: 31.53 kB / 0.9502 GB, free: 18.31 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.7351, allocations: 3.469 kB / 0.9502 GB, free: 18.31 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.7352, allocations: 32.42 kB / 0.9502 GB, free: 18.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.7353, allocations: 9.938 kB / 0.9502 GB, free: 18.3 MB / 0.7481 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.0001207/0.7354, allocations: 147.3 kB / 0.9504 GB, free: 18.18 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.7355, allocations: 29.14 kB / 0.9504 GB, free: 18.17 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003108/0.7358, allocations: 126 kB / 0.9505 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.7358, allocations: 5.844 kB / 0.9505 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.7359, allocations: 3.141 kB / 0.9505 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.7359, allocations: 2.125 kB / 0.9505 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000796/0.7367, allocations: 0.7767 MB / 0.9513 GB, free: 17.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.7367, allocations: 1.719 kB / 0.9513 GB, free: 17.48 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.7368, allocations: 25.44 kB / 0.9513 GB, free: 17.48 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.7368, allocations: 4.156 kB / 0.9513 GB, free: 17.48 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.7368, allocations: 3.594 kB / 0.9513 GB, free: 17.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.7368, allocations: 8.219 kB / 0.9513 GB, free: 17.47 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.7369, allocations: 2.25 kB / 0.9513 GB, free: 17.47 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004781/0.7373, allocations: 339.7 kB / 0.9516 GB, free: 17.29 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.655e-05/0.7374, allocations: 112.6 kB / 0.9518 GB, free: 17.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.7375, allocations: 2.953 kB / 0.9518 GB, free: 17.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.7376, allocations: 8.922 kB / 0.9518 GB, free: 17.18 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.7377, allocations: 15.55 kB / 0.9518 GB, free: 17.18 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.7377, allocations: 8.672 kB / 0.9518 GB, free: 17.17 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002086/0.7379, allocations: 209.2 kB / 0.952 GB, free: 17.09 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7379, allocations: 0 / 0.952 GB, free: 17.09 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003318/0.7382, allocations: 61.69 kB / 0.952 GB, free: 17.08 MB / 0.7481 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.0009702/0.7392, allocations: 0.9052 MB / 0.9529 GB, free: 16.37 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003503/0.7396, allocations: 128.6 kB / 0.9531 GB, free: 16.36 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.7396, allocations: 1.062 kB / 0.9531 GB, free: 16.36 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.7397, allocations: 58.41 kB / 0.9531 GB, free: 16.36 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007583/0.7405, allocations: 133.3 kB / 0.9532 GB, free: 16.35 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003009/0.7435, allocations: 2.652 MB / 0.9558 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.7439, allocations: 0.7532 MB / 0.9566 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001512/0.7441, allocations: 54.77 kB / 0.9566 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.61e-05/0.7441, allocations: 70.17 kB / 0.9567 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of SimCode: time 1.172e-06/0.7442, allocations: 0 / 0.9567 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.7612, allocations: 6.473 MB / 0.963 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/0.7614, allocations: 240 kB / 0.9632 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.946/2.708, allocations: 1.375 kB / 0.9632 GB, free: 13.18 MB / 0.7481 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)