Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="IDEAS_dev_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.001538/0.001537, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001814/0.001814, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9244/0.9244, allocations: 135.1 MB / 425.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 67.36 kB / 0.5054 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1727, allocations: 80.92 MB / 0.5845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4243/0.597, allocations: 179.4 MB / 0.7596 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008323/0.6054, allocations: 7.823 MB / 0.7673 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005353/0.606, allocations: 19.88 kB / 0.7673 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006302/0.6066, allocations: 242.2 kB / 0.7675 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002812/0.6094, allocations: 1.225 MB / 0.7687 GB, free: 300 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.6111, allocations: 0.7262 MB / 0.7694 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001173/0.6123, allocations: 1.076 MB / 0.7705 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005531/0.6129, allocations: 406.9 kB / 0.7709 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002203/0.6151, allocations: 0.8359 MB / 0.7717 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006119/0.6157, allocations: 430.5 kB / 0.7721 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.796e-05/0.6158, allocations: 36 kB / 0.7721 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001765/0.6176, allocations: 0.9471 MB / 0.7731 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.6178, allocations: 167.5 kB / 0.7732 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002342/0.618, allocations: 242.8 kB / 0.7735 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.6193, allocations: 0.9233 MB / 0.7744 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.6193, allocations: 4 kB / 0.7744 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6193, allocations: 3.938 kB / 0.7744 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.434e-05/0.6194, allocations: 0 / 0.7744 GB, free: 10.54 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.001096/0.6205, allocations: 0.8104 MB / 0.7752 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.6205, allocations: 12.03 kB / 0.7752 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.755e-05/0.6206, allocations: 74.52 kB / 0.7752 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008981/0.6215, allocations: 151.2 kB / 0.7754 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004925/0.622, allocations: 379.4 kB / 0.7757 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.622, allocations: 29 kB / 0.7758 GB, free: 9 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.629e-05/0.6221, allocations: 40 kB / 0.7758 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006561/0.6228, allocations: 446.4 kB / 0.7762 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.6228, allocations: 3.938 kB / 0.7762 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.6228, allocations: 15.94 kB / 0.7763 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.6228, allocations: 8 kB / 0.7763 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005618/0.6234, allocations: 327.8 kB / 0.7766 GB, free: 8.156 MB / 0.5919 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.00193/0.6253, allocations: 2.023 MB / 0.7786 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003888/0.6257, allocations: 242.4 kB / 0.7788 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000234/0.626, allocations: 142 kB / 0.7789 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005471/0.6265, allocations: 315.2 kB / 0.7792 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.6266, allocations: 30.56 kB / 0.7792 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=24): time 2.114e-06/0.6266, allocations: 0 / 0.7792 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24): time 0.0009503/0.6275, allocations: 453.2 kB / 0.7797 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.6276, allocations: 59.27 kB / 0.7797 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003817/0.628, allocations: 397.9 kB / 0.7801 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.628, allocations: 33.7 kB / 0.7801 GB, free: 4.215 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.6282, allocations: 236.2 kB / 0.7804 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.323e-05/0.6282, allocations: 82.75 kB / 0.7805 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.892e-05/0.6283, allocations: 57.7 kB / 0.7805 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.6284, allocations: 350.7 kB / 0.7808 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.6287, allocations: 111.9 kB / 0.7809 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/0.6289, allocations: 188 kB / 0.7811 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000478/0.6294, allocations: 307 kB / 0.7814 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6294, allocations: 3.938 kB / 0.7814 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005992/0.63, allocations: 358.7 kB / 0.7818 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.6301, allocations: 10.03 kB / 0.7818 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.6301, allocations: 224 / 0.7818 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.6301, allocations: 8 kB / 0.7818 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/0.6304, allocations: 59.91 kB / 0.7818 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.6304, allocations: 7.984 kB / 0.7818 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.6307, allocations: 39.53 kB / 0.7819 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-05/0.6307, allocations: 15.98 kB / 0.7819 GB, free: 2.348 MB / 0.5919 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.0001588/0.6309, allocations: 165.7 kB / 0.7821 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.39e-05/0.6309, allocations: 35.53 kB / 0.7821 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006592/0.6316, allocations: 376.7 kB / 0.7825 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.6316, allocations: 4 kB / 0.7825 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.6316, allocations: 0 / 0.7825 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.6316, allocations: 0 / 0.7825 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.6329, allocations: 0.937 MB / 0.7834 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.6329, allocations: 4 kB / 0.7834 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/0.6332, allocations: 51.84 kB / 0.7834 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.6332, allocations: 0 / 0.7834 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.6332, allocations: 12.22 kB / 0.7834 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.6332, allocations: 7.984 kB / 0.7834 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.6332, allocations: 7.938 kB / 0.7835 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008885/0.6341, allocations: 0.6287 MB / 0.7841 GB, free: 4 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.6343, allocations: 148.5 kB / 0.7842 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.553e-05/0.6344, allocations: 11.94 kB / 0.7842 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.6346, allocations: 11.94 kB / 0.7842 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.891e-05/0.6347, allocations: 27.97 kB / 0.7843 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.6347, allocations: 8 kB / 0.7843 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002706/0.635, allocations: 283.1 kB / 0.7845 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.635, allocations: 0 / 0.7845 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004509/0.6354, allocations: 115.8 kB / 0.7846 GB, free: 15.39 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.001444/0.6369, allocations: 1.241 MB / 0.7859 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006105/0.6375, allocations: 287.9 kB / 0.7861 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.6375, allocations: 8.062 kB / 0.7861 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002596/0.6378, allocations: 153.8 kB / 0.7863 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.6389, allocations: 229 kB / 0.7865 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004657/0.6435, allocations: 3.849 MB / 0.7903 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.644, allocations: 0.8233 MB / 0.7911 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003722/0.6443, allocations: 99.41 kB / 0.7912 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001965/0.6446, allocations: 139.4 kB / 0.7913 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.6446, allocations: 0 / 0.7913 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03456/0.6791, allocations: 11.55 MB / 0.8026 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.894/8.573, allocations: 10.19 kB / 0.8026 GB, free: 13.07 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)