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.001148/0.001148, 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.001229/0.001229, allocations: 196.3 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.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7539/0.7539, allocations: 132.2 MB / 422.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 59.92 kB / 0.5019 GB, free: 3.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4093, allocations: 80.2 MB / 0.5802 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1873/0.5966, allocations: 179.4 MB / 0.7554 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01002/0.6067, allocations: 7.821 MB / 0.763 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006041/0.6073, allocations: 23.88 kB / 0.763 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007385/0.6081, allocations: 246.2 kB / 0.7633 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003219/0.6114, allocations: 1.225 MB / 0.7645 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001867/0.6132, allocations: 0.729 MB / 0.7652 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001322/0.6146, allocations: 1.072 MB / 0.7662 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000639/0.6152, allocations: 409.3 kB / 0.7666 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002449/0.6177, allocations: 0.8321 MB / 0.7674 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006896/0.6184, allocations: 430.5 kB / 0.7678 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.037e-05/0.6185, allocations: 36 kB / 0.7679 GB, free: 0.6523 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001599/0.6201, allocations: 0.9509 MB / 0.7688 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.6203, allocations: 159.5 kB / 0.769 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002439/0.6205, allocations: 242.8 kB / 0.7692 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001232/0.6218, allocations: 0.9388 MB / 0.7701 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.6218, allocations: 0 / 0.7701 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.243e-06/0.6218, allocations: 0 / 0.7701 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.6218, allocations: 0 / 0.7701 GB, free: 14.36 MB / 0.6075 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.001045/0.6228, allocations: 0.8064 MB / 0.7709 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.6229, allocations: 12.03 kB / 0.7709 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.255e-05/0.623, allocations: 74.53 kB / 0.771 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009227/0.6239, allocations: 147.3 kB / 0.7711 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004964/0.6244, allocations: 395.2 kB / 0.7715 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/0.6244, allocations: 29 kB / 0.7715 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.483e-05/0.6245, allocations: 36 kB / 0.7716 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006694/0.6252, allocations: 450.3 kB / 0.772 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.6252, allocations: 4 kB / 0.772 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.6253, allocations: 16 kB / 0.772 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.6253, allocations: 8 kB / 0.772 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005736/0.6258, allocations: 315.8 kB / 0.7723 GB, free: 11.98 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.001955/0.6278, allocations: 2.019 MB / 0.7743 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003807/0.6282, allocations: 242.4 kB / 0.7745 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002641/0.6285, allocations: 152.8 kB / 0.7747 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005939/0.6291, allocations: 299.2 kB / 0.775 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.6291, allocations: 42.55 kB / 0.775 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 1.884e-06/0.6291, allocations: 4 kB / 0.775 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.001038/0.6302, allocations: 449.2 kB / 0.7754 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.6302, allocations: 59.27 kB / 0.7755 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004095/0.6306, allocations: 397.9 kB / 0.7759 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.6307, allocations: 29.7 kB / 0.7759 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.6308, allocations: 232.3 kB / 0.7761 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.825e-05/0.6309, allocations: 86.8 kB / 0.7762 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.189e-05/0.631, allocations: 53.7 kB / 0.7762 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.6311, allocations: 354.7 kB / 0.7766 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002445/0.6314, allocations: 111.9 kB / 0.7767 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/0.6317, allocations: 188.1 kB / 0.7769 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004866/0.6322, allocations: 309.8 kB / 0.7772 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6322, allocations: 0 / 0.7772 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006018/0.6328, allocations: 368.9 kB / 0.7775 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.6328, allocations: 4 kB / 0.7775 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.6328, allocations: 7.938 kB / 0.7775 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.6329, allocations: 4 kB / 0.7775 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/0.6331, allocations: 55.91 kB / 0.7776 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.6331, allocations: 4 kB / 0.7776 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.6334, allocations: 47.45 kB / 0.7776 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.364e-05/0.6334, allocations: 12 kB / 0.7776 GB, free: 6.164 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.0001747/0.6336, allocations: 165.8 kB / 0.7778 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.658e-05/0.6337, allocations: 39.53 kB / 0.7778 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007077/0.6344, allocations: 372 kB / 0.7782 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.6344, allocations: 0 / 0.7782 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.6344, allocations: 0 / 0.7782 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.6344, allocations: 7.922 kB / 0.7782 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.6358, allocations: 0.9389 MB / 0.7791 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.6358, allocations: 224 / 0.7791 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002409/0.6361, allocations: 51.92 kB / 0.7792 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/0.6361, allocations: 7.984 kB / 0.7792 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.6361, allocations: 8 kB / 0.7792 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.6361, allocations: 4 kB / 0.7792 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6361, allocations: 0 / 0.7792 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008689/0.637, allocations: 0.6255 MB / 0.7798 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.6372, allocations: 148.6 kB / 0.7799 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.321e-05/0.6372, allocations: 8 kB / 0.7799 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.6374, allocations: 16.05 kB / 0.78 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.6375, allocations: 15.98 kB / 0.78 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.6375, allocations: 15.94 kB / 0.78 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002514/0.6378, allocations: 283.1 kB / 0.7803 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6378, allocations: 0 / 0.7803 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004226/0.6382, allocations: 103.8 kB / 0.7804 GB, free: 3.234 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.001445/0.6397, allocations: 1.251 MB / 0.7816 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005988/0.6403, allocations: 303.3 kB / 0.7819 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.6403, allocations: 4 kB / 0.7819 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000258/0.6406, allocations: 151.7 kB / 0.782 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.6416, allocations: 213.6 kB / 0.7822 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004653/0.6463, allocations: 3.838 MB / 0.786 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.6466, allocations: 0.8311 MB / 0.7868 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003296/0.647, allocations: 103.3 kB / 0.7869 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/0.6472, allocations: 139.4 kB / 0.787 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of SimCode: time 4.71e-07/0.6472, allocations: 0 / 0.787 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02982/0.677, allocations: 11.56 MB / 0.7983 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.657/8.334, allocations: 8.719 kB / 0.7983 GB, free: 0.8867 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 & 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)