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.006374/0.006374, allocations: 101.8 kB / 15.73 MB, free: 6.441 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.001509/0.001509, allocations: 193 kB / 16.67 MB, free: 6.352 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7555/0.7555, allocations: 132.2 MB / 422.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 67.89 kB / 0.5809 GB, free: 8.039 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.4121, allocations: 80.2 MB / 0.6592 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1966/0.6088, allocations: 179.4 MB / 0.8344 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.008991/0.6179, allocations: 7.826 MB / 0.842 GB, free: 10.28 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007576/0.6187, allocations: 19.88 kB / 0.8421 GB, free: 10.26 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0008636/0.6196, allocations: 242.2 kB / 0.8423 GB, free: 10.02 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003499/0.6231, allocations: 1.272 MB / 0.8435 GB, free: 8.746 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001971/0.6251, allocations: 0.7417 MB / 0.8443 GB, free: 8.004 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001413/0.6265, allocations: 1.076 MB / 0.8453 GB, free: 6.926 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005956/0.6272, allocations: 413.4 kB / 0.8457 GB, free: 6.516 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002334/0.6295, allocations: 0.8568 MB / 0.8465 GB, free: 5.668 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006237/0.6301, allocations: 442.4 kB / 0.847 GB, free: 5.234 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 5.712e-05/0.6302, allocations: 36 kB / 0.847 GB, free: 5.199 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001881/0.6321, allocations: 0.951 MB / 0.8479 GB, free: 4.246 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.6323, allocations: 159.5 kB / 0.8481 GB, free: 4.09 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002581/0.6325, allocations: 246.8 kB / 0.8483 GB, free: 3.848 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.6341, allocations: 0.942 MB / 0.8492 GB, free: 2.906 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.6341, allocations: 4 kB / 0.8492 GB, free: 2.902 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6341, allocations: 3.938 kB / 0.8492 GB, free: 2.898 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.6341, allocations: 4 kB / 0.8492 GB, free: 2.895 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.001235/0.6354, allocations: 0.8211 MB / 0.85 GB, free: 2.023 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.6354, allocations: 8.031 kB / 0.8501 GB, free: 2.016 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.37e-05/0.6355, allocations: 70.53 kB / 0.8501 GB, free: 1.938 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009315/0.6365, allocations: 155.5 kB / 0.8503 GB, free: 1.785 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006401/0.6371, allocations: 415.5 kB / 0.8507 GB, free: 1.344 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.6372, allocations: 29 kB / 0.8507 GB, free: 1.316 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.865e-05/0.6372, allocations: 40 kB / 0.8507 GB, free: 1.277 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000747/0.638, allocations: 446.3 kB / 0.8512 GB, free: 0.8164 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.638, allocations: 0 / 0.8512 GB, free: 0.8164 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.858e-05/0.6381, allocations: 16 kB / 0.8512 GB, free: 0.8008 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.6381, allocations: 8 kB / 0.8512 GB, free: 0.793 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005877/0.6387, allocations: 327.8 kB / 0.8515 GB, free: 484 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.002104/0.6408, allocations: 2.016 MB / 0.8535 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003966/0.6412, allocations: 238.4 kB / 0.8537 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/0.6415, allocations: 148.8 kB / 0.8538 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006191/0.6421, allocations: 307.2 kB / 0.8541 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.6421, allocations: 34.56 kB / 0.8542 GB, free: 13.49 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=24): time 2.675e-06/0.6421, allocations: 0 / 0.8542 GB, free: 13.49 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24): time 0.001079/0.6432, allocations: 460.8 kB / 0.8546 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.6433, allocations: 55.41 kB / 0.8546 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003769/0.6437, allocations: 401.9 kB / 0.855 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.6437, allocations: 29.7 kB / 0.8551 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.6439, allocations: 236.5 kB / 0.8553 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 7.095e-05/0.6439, allocations: 91.22 kB / 0.8554 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.789e-05/0.644, allocations: 53.7 kB / 0.8554 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.6442, allocations: 350.8 kB / 0.8558 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.6444, allocations: 111.9 kB / 0.8559 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.6447, allocations: 180.1 kB / 0.856 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004751/0.6452, allocations: 307.5 kB / 0.8563 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.6452, allocations: 4 kB / 0.8563 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006129/0.6458, allocations: 372.2 kB / 0.8567 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.6458, allocations: 5.875 kB / 0.8567 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.6458, allocations: 4 kB / 0.8567 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.6458, allocations: 4 kB / 0.8567 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.6461, allocations: 60.12 kB / 0.8568 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.6461, allocations: 11.94 kB / 0.8568 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.6464, allocations: 39.72 kB / 0.8568 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.508e-05/0.6465, allocations: 12 kB / 0.8568 GB, free: 10.67 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.0001803/0.6466, allocations: 165.7 kB / 0.857 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-05/0.6467, allocations: 39.77 kB / 0.857 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006936/0.6474, allocations: 369 kB / 0.8574 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.6474, allocations: 4 kB / 0.8574 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.6474, allocations: 3.938 kB / 0.8574 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.6475, allocations: 3.984 kB / 0.8574 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.6488, allocations: 0.9487 MB / 0.8583 GB, free: 9.051 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.6488, allocations: 0 / 0.8583 GB, free: 9.051 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/0.6491, allocations: 47.91 kB / 0.8584 GB, free: 9.004 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.812e-06/0.6491, allocations: 4 kB / 0.8584 GB, free: 9 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.6491, allocations: 8 kB / 0.8584 GB, free: 8.992 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.6491, allocations: 4 kB / 0.8584 GB, free: 8.988 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.6491, allocations: 0 / 0.8584 GB, free: 8.988 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008912/0.65, allocations: 0.6346 MB / 0.859 GB, free: 8.316 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001658/0.6502, allocations: 148.8 kB / 0.8591 GB, free: 8.152 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.674e-05/0.6503, allocations: 12 kB / 0.8591 GB, free: 8.141 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.6505, allocations: 15.98 kB / 0.8592 GB, free: 8.125 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.6506, allocations: 19.92 kB / 0.8592 GB, free: 8.105 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.6506, allocations: 11.94 kB / 0.8592 GB, free: 8.094 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002672/0.6509, allocations: 287.2 kB / 0.8595 GB, free: 7.82 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6509, allocations: 4 kB / 0.8595 GB, free: 7.816 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004537/0.6513, allocations: 111.8 kB / 0.8596 GB, free: 7.707 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.001441/0.6528, allocations: 1.239 MB / 0.8608 GB, free: 6.43 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0006275/0.6534, allocations: 283.5 kB / 0.8611 GB, free: 6.152 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.6535, allocations: 0 / 0.8611 GB, free: 6.152 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002643/0.6537, allocations: 152.7 kB / 0.8612 GB, free: 6.004 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.6548, allocations: 235.5 kB / 0.8614 GB, free: 5.785 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004589/0.6594, allocations: 3.793 MB / 0.8651 GB, free: 1.828 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.6598, allocations: 0.8272 MB / 0.8659 GB, free: 0.9688 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003172/0.6601, allocations: 95.42 kB / 0.866 GB, free: 0.8711 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/0.6603, allocations: 135.4 kB / 0.8662 GB, free: 0.7383 MB / 0.6856 GB Notification: Performance of SimCode: time 8.91e-07/0.6603, allocations: 4 kB / 0.8662 GB, free: 0.7344 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3548/1.015, allocations: 11.68 MB / 0.8776 GB, free: 193.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.284/9.299, allocations: 16.22 kB / 0.8776 GB, free: 193.9 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)