Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",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.000957/0.000957, 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.001065/0.001065, 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.386/1.386, allocations: 205.1 MB / 222 MB, free: 4.98 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.718/1.718, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001384/0.001384, allocations: 63.48 kB / 0.6709 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1961, allocations: 114.5 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6104/0.8066, allocations: 177.2 MB / 0.9558 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008962/0.8156, allocations: 7.864 MB / 0.9635 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008503/0.8165, allocations: 20.09 kB / 0.9635 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007648/0.8173, allocations: 188.8 kB / 0.9637 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003832/0.8211, allocations: 1.137 MB / 0.9648 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00215/0.8233, allocations: 0.6665 MB / 0.9654 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002213/0.8255, allocations: 1.542 MB / 0.967 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006143/0.8262, allocations: 348.1 kB / 0.9673 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003222/0.8294, allocations: 0.766 MB / 0.968 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009371/0.8303, allocations: 451 kB / 0.9685 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.342e-05/0.8304, allocations: 26.62 kB / 0.9685 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002505/0.8329, allocations: 1.098 MB / 0.9696 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002248/0.8332, allocations: 151.7 kB / 0.9697 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003749/0.8335, allocations: 233.2 kB / 0.9699 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001929/0.8355, allocations: 0.9792 MB / 0.9709 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.8355, allocations: 0 / 0.9709 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.342e-06/0.8355, allocations: 1.094 kB / 0.9709 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.844e-06/0.8355, allocations: 0 / 0.9709 GB, free: 5.195 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001626/0.8371, allocations: 0.8006 MB / 0.9717 GB, free: 20.65 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.8372, allocations: 9.906 kB / 0.9717 GB, free: 20.65 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.59e-05/0.8373, allocations: 79.59 kB / 0.9718 GB, free: 20.61 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.8384, allocations: 156.2 kB / 0.9719 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000558/0.839, allocations: 383.4 kB / 0.9723 GB, free: 20.32 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/0.839, allocations: 26.47 kB / 0.9723 GB, free: 20.32 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.106e-05/0.8391, allocations: 36.06 kB / 0.9723 GB, free: 20.32 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008177/0.8399, allocations: 453 kB / 0.9728 GB, free: 20.21 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.8399, allocations: 1.312 kB / 0.9728 GB, free: 20.21 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.811e-05/0.84, allocations: 17.38 kB / 0.9728 GB, free: 20.21 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.84, allocations: 10.94 kB / 0.9728 GB, free: 20.21 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006466/0.8406, allocations: 327.2 kB / 0.9731 GB, free: 20.2 MB / 0.7481 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.002383/0.843, allocations: 2.008 MB / 0.9751 GB, free: 18.85 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003979/0.8434, allocations: 233.5 kB / 0.9753 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/0.8437, allocations: 159.7 kB / 0.9754 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006364/0.8443, allocations: 304.1 kB / 0.9757 GB, free: 18.53 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.8444, allocations: 39.55 kB / 0.9758 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=24): time 1.973e-06/0.8444, allocations: 5.031 kB / 0.9758 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24): time 0.00104/0.8455, allocations: 448.9 kB / 0.9762 GB, free: 18.43 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.8455, allocations: 57.53 kB / 0.9763 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004239/0.8459, allocations: 396.2 kB / 0.9766 GB, free: 18.25 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.846, allocations: 30.39 kB / 0.9767 GB, free: 18.22 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.8461, allocations: 236.2 kB / 0.9769 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.712e-05/0.8462, allocations: 84.16 kB / 0.977 GB, free: 18.04 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.478e-05/0.8463, allocations: 55.33 kB / 0.977 GB, free: 18.02 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.8465, allocations: 351.4 kB / 0.9774 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.8467, allocations: 113.5 kB / 0.9775 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/0.847, allocations: 179.5 kB / 0.9776 GB, free: 17.64 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004854/0.8475, allocations: 305.8 kB / 0.9779 GB, free: 17.57 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.8475, allocations: 1.219 kB / 0.9779 GB, free: 17.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006593/0.8482, allocations: 359.6 kB / 0.9783 GB, free: 17.52 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.8482, allocations: 10.94 kB / 0.9783 GB, free: 17.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.8482, allocations: 1.125 kB / 0.9783 GB, free: 17.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.8482, allocations: 7.781 kB / 0.9783 GB, free: 17.51 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.8485, allocations: 61.36 kB / 0.9783 GB, free: 17.51 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.8485, allocations: 4.781 kB / 0.9783 GB, free: 17.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003255/0.8489, allocations: 61.19 kB / 0.9784 GB, free: 17.48 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.882e-05/0.8489, allocations: 16.38 kB / 0.9784 GB, free: 17.48 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 (31): * Single equations (assignments): 31 * 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.0001857/0.8491, allocations: 167.5 kB / 0.9786 GB, free: 17.36 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.819e-05/0.8492, allocations: 38.44 kB / 0.9786 GB, free: 17.34 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007586/0.8499, allocations: 370.1 kB / 0.979 GB, free: 17.3 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.85, allocations: 2.094 kB / 0.979 GB, free: 17.3 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.85, allocations: 5.188 kB / 0.979 GB, free: 17.29 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.85, allocations: 0 / 0.979 GB, free: 17.29 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.8514, allocations: 0.9374 MB / 0.9799 GB, free: 16.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.8514, allocations: 1.375 kB / 0.9799 GB, free: 16.92 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/0.8516, allocations: 48.98 kB / 0.9799 GB, free: 16.92 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.8516, allocations: 10.72 kB / 0.98 GB, free: 16.91 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.8517, allocations: 10.28 kB / 0.98 GB, free: 16.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.8517, allocations: 2.75 kB / 0.98 GB, free: 16.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.8517, allocations: 6.688 kB / 0.98 GB, free: 16.91 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009004/0.8526, allocations: 0.6288 MB / 0.9806 GB, free: 16.7 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.8528, allocations: 155.1 kB / 0.9807 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.837e-05/0.8528, allocations: 7.875 kB / 0.9807 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/0.8531, allocations: 22.64 kB / 0.9808 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.48e-05/0.8532, allocations: 25.36 kB / 0.9808 GB, free: 16.56 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.8532, allocations: 7.656 kB / 0.9808 GB, free: 16.56 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002845/0.8535, allocations: 282.6 kB / 0.9811 GB, free: 16.48 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8535, allocations: 1.312 kB / 0.9811 GB, free: 16.48 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004954/0.854, allocations: 108.2 kB / 0.9812 GB, free: 16.46 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.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 (24): * Single equations (assignments): 24 * 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.001482/0.8555, allocations: 1.242 MB / 0.9824 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005949/0.8561, allocations: 282.9 kB / 0.9826 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.8561, allocations: 0 / 0.9826 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002628/0.8564, allocations: 157 kB / 0.9828 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.8574, allocations: 212.2 kB / 0.983 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004646/0.8621, allocations: 3.965 MB / 0.9869 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/0.8626, allocations: 0.8319 MB / 0.9877 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003718/0.863, allocations: 91.2 kB / 0.9878 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.8632, allocations: 142.1 kB / 0.9879 GB, free: 13 MB / 0.7481 GB Notification: Performance of SimCode: time 6.61e-07/0.8632, allocations: 0 / 0.9879 GB, free: 13 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/0.8848, allocations: 11.09 MB / 0.9987 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/0.885, allocations: 247.6 kB / 0.999 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.991/2.876, allocations: 0 / 0.999 GB, free: 10.26 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)