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.007962/0.007962, allocations: 97.41 kB / 15.73 MB, free: 6.039 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.001654/0.001654, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7508/0.7508, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 63.91 kB / 0.5809 GB, free: 8.043 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4035, allocations: 80.21 MB / 0.6592 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1841/0.5876, allocations: 179.4 MB / 0.8344 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.009219/0.5969, allocations: 7.832 MB / 0.842 GB, free: 10.27 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006688/0.5976, allocations: 15.94 kB / 0.8421 GB, free: 10.25 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0008275/0.5984, allocations: 242.2 kB / 0.8423 GB, free: 10.01 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003387/0.6019, allocations: 1.28 MB / 0.8435 GB, free: 8.727 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001908/0.6038, allocations: 0.7367 MB / 0.8443 GB, free: 7.992 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001418/0.6053, allocations: 1.083 MB / 0.8453 GB, free: 6.906 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000753/0.606, allocations: 413.4 kB / 0.8457 GB, free: 6.496 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00248/0.6085, allocations: 0.8589 MB / 0.8465 GB, free: 5.648 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000743/0.6093, allocations: 434.4 kB / 0.847 GB, free: 5.223 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 9.854e-05/0.6094, allocations: 36 kB / 0.847 GB, free: 5.188 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001818/0.6112, allocations: 0.9549 MB / 0.8479 GB, free: 4.23 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.6115, allocations: 159.5 kB / 0.8481 GB, free: 4.074 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000361/0.6118, allocations: 242.8 kB / 0.8483 GB, free: 3.836 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001937/0.6138, allocations: 0.9459 MB / 0.8492 GB, free: 2.891 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.6138, allocations: 7.984 kB / 0.8492 GB, free: 2.883 MB / 0.67 GB Notification: Performance of FrontEnd: time 4.118e-06/0.6138, allocations: 0 / 0.8492 GB, free: 2.883 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.419e-05/0.6138, allocations: 3.938 kB / 0.8492 GB, free: 2.879 MB / 0.67 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.001334/0.6152, allocations: 0.8172 MB / 0.85 GB, free: 2.012 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.6152, allocations: 8.031 kB / 0.8501 GB, free: 2.004 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.735e-05/0.6153, allocations: 74.53 kB / 0.8501 GB, free: 1.922 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009424/0.6162, allocations: 163.5 kB / 0.8503 GB, free: 1.762 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005994/0.6169, allocations: 399.7 kB / 0.8507 GB, free: 1.336 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.6169, allocations: 25 kB / 0.8507 GB, free: 1.312 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.787e-05/0.617, allocations: 43.94 kB / 0.8507 GB, free: 1.27 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006995/0.6177, allocations: 450.4 kB / 0.8512 GB, free: 0.8047 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.6177, allocations: 3.938 kB / 0.8512 GB, free: 0.8008 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/0.6177, allocations: 16 kB / 0.8512 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.6178, allocations: 15.94 kB / 0.8512 GB, free: 0.7695 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005936/0.6184, allocations: 315.8 kB / 0.8515 GB, free: 472 kB / 0.67 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.002108/0.6205, allocations: 2.016 MB / 0.8535 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004087/0.6209, allocations: 238.5 kB / 0.8537 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.6212, allocations: 148.7 kB / 0.8538 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005777/0.6217, allocations: 311.2 kB / 0.8541 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.6218, allocations: 34.56 kB / 0.8542 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=24): time 1.372e-06/0.6218, allocations: 0 / 0.8542 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24): time 0.001007/0.6228, allocations: 460.9 kB / 0.8546 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.6228, allocations: 55.41 kB / 0.8547 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004146/0.6233, allocations: 393.9 kB / 0.855 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.6233, allocations: 41.64 kB / 0.8551 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.6235, allocations: 228.5 kB / 0.8553 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 6.643e-05/0.6235, allocations: 87.23 kB / 0.8554 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.591e-05/0.6236, allocations: 57.69 kB / 0.8554 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.6238, allocations: 346.8 kB / 0.8558 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/0.624, allocations: 115.9 kB / 0.8559 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002712/0.6243, allocations: 184.1 kB / 0.856 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004763/0.6248, allocations: 310.5 kB / 0.8563 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.6248, allocations: 0 / 0.8563 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000617/0.6254, allocations: 365.1 kB / 0.8567 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.6254, allocations: 10.19 kB / 0.8567 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.6254, allocations: 0 / 0.8567 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.6255, allocations: 4 kB / 0.8567 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.6257, allocations: 59.91 kB / 0.8568 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.6258, allocations: 7.938 kB / 0.8568 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.626, allocations: 43.66 kB / 0.8568 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.5e-05/0.626, allocations: 16 kB / 0.8568 GB, free: 10.65 MB / 0.6856 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.0001736/0.6262, allocations: 174.7 kB / 0.857 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.511e-05/0.6263, allocations: 35.77 kB / 0.857 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000683/0.627, allocations: 373.5 kB / 0.8574 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.627, allocations: 8.031 kB / 0.8574 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.627, allocations: 0 / 0.8574 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.627, allocations: 3.938 kB / 0.8574 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.6283, allocations: 0.9332 MB / 0.8583 GB, free: 9.047 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.6283, allocations: 4 kB / 0.8583 GB, free: 9.043 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/0.6286, allocations: 56.12 kB / 0.8584 GB, free: 8.988 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.6286, allocations: 0 / 0.8584 GB, free: 8.988 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.6286, allocations: 4 kB / 0.8584 GB, free: 8.984 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.6286, allocations: 4 kB / 0.8584 GB, free: 8.98 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.6286, allocations: 11.88 kB / 0.8584 GB, free: 8.969 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008637/0.6295, allocations: 0.6297 MB / 0.859 GB, free: 8.301 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.6297, allocations: 144.8 kB / 0.8591 GB, free: 8.141 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.247e-05/0.6297, allocations: 7.922 kB / 0.8591 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.6299, allocations: 16.06 kB / 0.8592 GB, free: 8.117 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.63, allocations: 27.84 kB / 0.8592 GB, free: 8.09 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.63, allocations: 12 kB / 0.8592 GB, free: 8.078 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002611/0.6303, allocations: 283.1 kB / 0.8595 GB, free: 7.809 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6303, allocations: 0 / 0.8595 GB, free: 7.809 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004164/0.6307, allocations: 111.8 kB / 0.8596 GB, free: 7.699 MB / 0.6856 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.001379/0.6321, allocations: 1.246 MB / 0.8608 GB, free: 6.414 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005724/0.6327, allocations: 291 kB / 0.8611 GB, free: 6.133 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6327, allocations: 0 / 0.8611 GB, free: 6.133 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002564/0.633, allocations: 147.8 kB / 0.8612 GB, free: 5.988 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.634, allocations: 220.3 kB / 0.8614 GB, free: 5.781 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004625/0.6386, allocations: 3.805 MB / 0.8651 GB, free: 1.812 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.639, allocations: 0.8311 MB / 0.8659 GB, free: 0.9492 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003179/0.6393, allocations: 95.41 kB / 0.866 GB, free: 0.8516 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001955/0.6395, allocations: 143.4 kB / 0.8662 GB, free: 0.7109 MB / 0.6856 GB Notification: Performance of SimCode: time 9.81e-07/0.6396, allocations: 4 kB / 0.8662 GB, free: 0.707 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3397/0.9793, allocations: 11.67 MB / 0.8776 GB, free: 193.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.004/8.983, allocations: 13.88 kB / 0.8776 GB, free: 193.5 MB / 0.6856 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IDEAS_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)