Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_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.001231/0.001231, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001066/0.001066, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.246/1.246, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7084/0.7084, allocations: 132.2 MB / 422.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 59.75 kB / 0.5014 GB, free: 4.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3247, allocations: 80.21 MB / 0.5797 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1636/0.4883, allocations: 177 MB / 0.7526 GB, free: 88 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007855/0.4962, allocations: 7.776 MB / 0.7602 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002974/0.4965, allocations: 15.94 kB / 0.7602 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005097/0.497, allocations: 202.8 kB / 0.7604 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002157/0.4992, allocations: 1.144 MB / 0.7615 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.5005, allocations: 0.669 MB / 0.7621 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009016/0.5014, allocations: 1.087 MB / 0.7632 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004361/0.5019, allocations: 389.4 kB / 0.7636 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002008/0.5039, allocations: 0.8236 MB / 0.7644 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004717/0.5044, allocations: 458.4 kB / 0.7648 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.141e-05/0.5045, allocations: 40 kB / 0.7648 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.5057, allocations: 0.9857 MB / 0.7658 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.5058, allocations: 159.6 kB / 0.766 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001983/0.506, allocations: 242.8 kB / 0.7662 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.5071, allocations: 0.9932 MB / 0.7672 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.5071, allocations: 0 / 0.7672 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5071, allocations: 0 / 0.7672 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.5071, allocations: 0 / 0.7672 GB, free: 1.098 MB / 0.5919 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.0009822/0.5081, allocations: 0.8104 MB / 0.768 GB, free: 240 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.5081, allocations: 12.03 kB / 0.768 GB, free: 228 kB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.311e-05/0.5082, allocations: 74.53 kB / 0.768 GB, free: 144 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008654/0.5091, allocations: 143.3 kB / 0.7682 GB, free: 0 / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004515/0.5095, allocations: 391.2 kB / 0.7685 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.5096, allocations: 29 kB / 0.7686 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.503e-05/0.5096, allocations: 36 kB / 0.7686 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006606/0.5103, allocations: 454.3 kB / 0.769 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.5103, allocations: 0 / 0.769 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/0.5104, allocations: 16 kB / 0.7691 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.5104, allocations: 12 kB / 0.7691 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005496/0.5109, allocations: 319.8 kB / 0.7694 GB, free: 14.71 MB / 0.6075 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.001786/0.5127, allocations: 2.012 MB / 0.7713 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003608/0.5131, allocations: 242 kB / 0.7716 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.5133, allocations: 152.8 kB / 0.7717 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005272/0.5139, allocations: 307.2 kB / 0.772 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.5139, allocations: 38.56 kB / 0.772 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 1.392e-06/0.5139, allocations: 0 / 0.772 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.0009193/0.5148, allocations: 453.2 kB / 0.7725 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.5149, allocations: 55.27 kB / 0.7725 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003464/0.5152, allocations: 401.9 kB / 0.7729 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.5153, allocations: 29.7 kB / 0.7729 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.5154, allocations: 228.3 kB / 0.7732 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.752e-05/0.5155, allocations: 82.81 kB / 0.7732 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.502e-05/0.5155, allocations: 53.7 kB / 0.7733 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.5157, allocations: 358.7 kB / 0.7736 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.5159, allocations: 115.9 kB / 0.7737 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.5161, allocations: 178.8 kB / 0.7739 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004487/0.5166, allocations: 309.9 kB / 0.7742 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.5166, allocations: 0 / 0.7742 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005647/0.5172, allocations: 372.7 kB / 0.7746 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.5172, allocations: 9.625 kB / 0.7746 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.5172, allocations: 4 kB / 0.7746 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.5172, allocations: 0 / 0.7746 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/0.5175, allocations: 59.91 kB / 0.7746 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.5175, allocations: 0 / 0.7746 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002512/0.5178, allocations: 59.44 kB / 0.7747 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.5178, allocations: 20 kB / 0.7747 GB, free: 8.895 MB / 0.6075 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.000148/0.518, allocations: 161.8 kB / 0.7749 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.219e-05/0.518, allocations: 39.53 kB / 0.7749 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006583/0.5187, allocations: 368.9 kB / 0.7753 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.5187, allocations: 4 kB / 0.7753 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.5187, allocations: 0 / 0.7753 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.5187, allocations: 11.92 kB / 0.7753 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.5199, allocations: 0.9371 MB / 0.7762 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.52, allocations: 4 kB / 0.7762 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.5202, allocations: 47.92 kB / 0.7762 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.5202, allocations: 4 kB / 0.7762 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.5202, allocations: 11.98 kB / 0.7762 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.5202, allocations: 0 / 0.7762 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.5202, allocations: 4 kB / 0.7762 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008246/0.5211, allocations: 0.6347 MB / 0.7769 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.5212, allocations: 148.6 kB / 0.777 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.282e-05/0.5213, allocations: 8 kB / 0.777 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.5215, allocations: 19.97 kB / 0.777 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.5216, allocations: 15.98 kB / 0.7771 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.5216, allocations: 20 kB / 0.7771 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002388/0.5219, allocations: 279.1 kB / 0.7773 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5219, allocations: 0 / 0.7773 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003888/0.5223, allocations: 119.7 kB / 0.7775 GB, free: 5.934 MB / 0.6075 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.001258/0.5235, allocations: 1.239 MB / 0.7787 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005403/0.5241, allocations: 303.4 kB / 0.779 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5241, allocations: 0 / 0.779 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002492/0.5243, allocations: 158.5 kB / 0.7791 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009583/0.5253, allocations: 226.8 kB / 0.7793 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004158/0.5295, allocations: 3.955 MB / 0.7832 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.5298, allocations: 0.835 MB / 0.784 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002843/0.5301, allocations: 95.41 kB / 0.7841 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.5303, allocations: 139.4 kB / 0.7842 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of SimCode: time 2.1e-07/0.5303, allocations: 0 / 0.7842 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3879/0.9182, allocations: 11.39 MB / 0.7953 GB, free: 3.695 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/0.9184, allocations: 242.2 kB / 0.7956 GB, free: 3.441 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.91/2.828, allocations: 3.938 kB / 0.7956 GB, free: 3.438 MB / 0.6231 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)