Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_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.005233/0.005233, allocations: 101 kB / 15.73 MB, free: 6.059 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.002171/0.002171, allocations: 195.2 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002475/0.002475, allocations: 295.8 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9929/0.9929, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002685/0.002685, allocations: 92.22 kB / 0.681 GB, free: 7.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3931, allocations: 86.97 MB / 0.7659 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1942/0.5873, allocations: 179.4 MB / 0.9411 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009947/0.5973, allocations: 7.818 MB / 0.9487 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005953/0.5979, allocations: 19.88 kB / 0.9488 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007231/0.5986, allocations: 250.2 kB / 0.949 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003395/0.6021, allocations: 1.225 MB / 0.9502 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002515/0.6046, allocations: 0.7234 MB / 0.9509 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001623/0.6063, allocations: 1.08 MB / 0.952 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007529/0.607, allocations: 409.4 kB / 0.9523 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002526/0.6096, allocations: 0.8406 MB / 0.9532 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000789/0.6104, allocations: 426.5 kB / 0.9536 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.066e-05/0.6105, allocations: 36 kB / 0.9536 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001841/0.6123, allocations: 0.9509 MB / 0.9545 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002183/0.6126, allocations: 159.6 kB / 0.9547 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003219/0.6129, allocations: 246.8 kB / 0.9549 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001744/0.6146, allocations: 0.944 MB / 0.9558 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6147, allocations: 4 kB / 0.9559 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.694e-06/0.6147, allocations: 4 kB / 0.9559 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.307e-05/0.6147, allocations: 0 / 0.9559 GB, free: 0.6758 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.3068/0.9215, allocations: 0.8136 MB / 0.9567 GB, free: 193.3 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.9216, allocations: 9.875 kB / 0.9567 GB, free: 193.3 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.349e-05/0.9217, allocations: 78.95 kB / 0.9567 GB, free: 193.2 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.9227, allocations: 155.3 kB / 0.9569 GB, free: 193.2 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006057/0.9234, allocations: 410.8 kB / 0.9573 GB, free: 193 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/0.9234, allocations: 28.78 kB / 0.9573 GB, free: 192.9 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.817e-05/0.9235, allocations: 36.78 kB / 0.9573 GB, free: 192.9 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007769/0.9243, allocations: 453 kB / 0.9578 GB, free: 192.7 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.9243, allocations: 4.469 kB / 0.9578 GB, free: 192.7 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.315e-05/0.9243, allocations: 11.53 kB / 0.9578 GB, free: 192.7 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.9244, allocations: 9.938 kB / 0.9578 GB, free: 192.7 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006426/0.925, allocations: 328.1 kB / 0.9581 GB, free: 192.6 MB / 0.7169 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.001977/0.927, allocations: 2.012 MB / 0.9601 GB, free: 191 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004288/0.9274, allocations: 239.6 kB / 0.9603 GB, free: 190.9 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/0.9277, allocations: 155.6 kB / 0.9604 GB, free: 190.9 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005243/0.9282, allocations: 303.8 kB / 0.9607 GB, free: 190.6 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.9282, allocations: 36.03 kB / 0.9608 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=24): time 1.894e-06/0.9283, allocations: 0 / 0.9608 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24): time 0.0009359/0.9292, allocations: 461.8 kB / 0.9612 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.015e-05/0.9292, allocations: 54.22 kB / 0.9613 GB, free: 190.3 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003518/0.9296, allocations: 398.5 kB / 0.9616 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.9296, allocations: 31.23 kB / 0.9617 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.9297, allocations: 235.8 kB / 0.9619 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.995e-05/0.9298, allocations: 88.86 kB / 0.962 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.997e-05/0.9299, allocations: 53.66 kB / 0.962 GB, free: 189.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.134e-05/0.9299, allocations: 353.3 kB / 0.9624 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.9302, allocations: 109.9 kB / 0.9625 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.9304, allocations: 181.9 kB / 0.9627 GB, free: 189.3 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004292/0.9308, allocations: 306.9 kB / 0.9629 GB, free: 189.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.9309, allocations: 0 / 0.9629 GB, free: 189.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005511/0.9314, allocations: 370.8 kB / 0.9633 GB, free: 189 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.9314, allocations: 6.938 kB / 0.9633 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.9314, allocations: 1.094 kB / 0.9633 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.9315, allocations: 5.562 kB / 0.9633 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.9317, allocations: 60.88 kB / 0.9634 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.9318, allocations: 4.141 kB / 0.9634 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002511/0.932, allocations: 44.42 kB / 0.9634 GB, free: 189 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.9321, allocations: 11.48 kB / 0.9634 GB, free: 189 MB / 0.7169 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.0001333/0.9322, allocations: 169.1 kB / 0.9636 GB, free: 188.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.153e-05/0.9323, allocations: 46.36 kB / 0.9636 GB, free: 188.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000623/0.9329, allocations: 374.9 kB / 0.964 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.9329, allocations: 3.281 kB / 0.964 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.9329, allocations: 1.219 kB / 0.964 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.9329, allocations: 3.234 kB / 0.964 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.9342, allocations: 0.9425 MB / 0.9649 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.9342, allocations: 1.906 kB / 0.9649 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/0.9345, allocations: 51.27 kB / 0.965 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.9345, allocations: 3.094 kB / 0.965 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.9345, allocations: 9.266 kB / 0.965 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.9345, allocations: 3.531 kB / 0.965 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.9345, allocations: 1.5 kB / 0.965 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007568/0.9353, allocations: 0.6407 MB / 0.9656 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.9354, allocations: 148.8 kB / 0.9658 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.865e-05/0.9355, allocations: 12.72 kB / 0.9658 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.9357, allocations: 11.42 kB / 0.9658 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.946e-05/0.9358, allocations: 23.66 kB / 0.9658 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.9358, allocations: 7.531 kB / 0.9658 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00024/0.936, allocations: 283.4 kB / 0.9661 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.936, allocations: 0 / 0.9661 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005271/0.9366, allocations: 115 kB / 0.9662 GB, free: 187.4 MB / 0.7169 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.001219/0.9378, allocations: 1.241 MB / 0.9674 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005631/0.9384, allocations: 287.2 kB / 0.9677 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.9384, allocations: 5.594 kB / 0.9677 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000245/0.9386, allocations: 150.9 kB / 0.9678 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.9397, allocations: 225.6 kB / 0.968 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003671/0.9434, allocations: 3.805 MB / 0.9718 GB, free: 183.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/0.9436, allocations: 0.8259 MB / 0.9726 GB, free: 183 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002593/0.9438, allocations: 94.08 kB / 0.9726 GB, free: 183 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.944, allocations: 142.4 kB / 0.9728 GB, free: 182.8 MB / 0.7169 GB Notification: Performance of SimCode: time 5.41e-07/0.944, allocations: 0 / 0.9728 GB, free: 182.8 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03248/0.9765, allocations: 11.71 MB / 0.9842 GB, free: 171.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.236/9.213, allocations: 26.66 kB / 0.9842 GB, free: 171.5 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)