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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008061/0.0008061, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009155/0.0009155, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9132/0.9132, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6898/0.6898, allocations: 154.6 MB / 413.8 MB, free: 0.793 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.001e-05/3.265e-05, allocations: 2.812 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4294/0.4294, allocations: 158.4 MB / 0.7728 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.006858/0.4362, allocations: 7.186 MB / 0.7798 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005709/0.4368, allocations: 28.62 kB / 0.7799 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0006445/0.4375, allocations: 255.3 kB / 0.7801 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002583/0.44, allocations: 1.251 MB / 0.7813 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.4417, allocations: 0.8204 MB / 0.7821 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001135/0.4429, allocations: 1.07 MB / 0.7832 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004586/0.4433, allocations: 327.9 kB / 0.7835 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002369/0.4457, allocations: 1.155 MB / 0.7846 GB, free: 9.859 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005306/0.4462, allocations: 385.2 kB / 0.785 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 5.193e-05/0.4463, allocations: 36.66 kB / 0.785 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.4476, allocations: 0.7988 MB / 0.7858 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.4478, allocations: 170.7 kB / 0.786 GB, free: 9.367 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.4479, allocations: 174.6 kB / 0.7861 GB, free: 9.297 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001455/0.4494, allocations: 0.9601 MB / 0.7871 GB, free: 8.961 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.4494, allocations: 1.094 kB / 0.7871 GB, free: 8.961 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4494, allocations: 0 / 0.7871 GB, free: 8.961 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.407e-05/0.4494, allocations: 0 / 0.7871 GB, free: 8.961 MB / 0.6511 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.001034/0.4504, allocations: 0.731 MB / 0.7878 GB, free: 8.422 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.4505, allocations: 11.92 kB / 0.7878 GB, free: 8.422 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.838e-05/0.4506, allocations: 77.64 kB / 0.7879 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005707/0.4511, allocations: 159.9 kB / 0.788 GB, free: 8.316 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004622/0.4516, allocations: 344.9 kB / 0.7884 GB, free: 8.07 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.4516, allocations: 29.41 kB / 0.7884 GB, free: 8.059 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.092e-05/0.4517, allocations: 40.3 kB / 0.7884 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005378/0.4522, allocations: 452.7 kB / 0.7889 GB, free: 7.824 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.4522, allocations: 1.031 kB / 0.7889 GB, free: 7.824 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.4522, allocations: 15.5 kB / 0.7889 GB, free: 7.812 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.4522, allocations: 9.125 kB / 0.7889 GB, free: 7.812 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004092/0.4527, allocations: 324.8 kB / 0.7892 GB, free: 7.707 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.4542, allocations: 1.49 MB / 0.7906 GB, free: 6.648 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/0.4545, allocations: 224.5 kB / 0.7909 GB, free: 6.551 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.4547, allocations: 139.8 kB / 0.791 GB, free: 6.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002979/0.455, allocations: 75.61 kB / 0.7911 GB, free: 6.496 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.455, allocations: 31.94 kB / 0.7911 GB, free: 6.457 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=24): time 1.613e-06/0.455, allocations: 0 / 0.7911 GB, free: 6.457 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24): time 0.0007105/0.4557, allocations: 464.4 kB / 0.7915 GB, free: 6.289 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.4557, allocations: 54.16 kB / 0.7916 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.456, allocations: 402.2 kB / 0.792 GB, free: 6.027 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.4561, allocations: 30.89 kB / 0.792 GB, free: 5.992 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.4562, allocations: 228.6 kB / 0.7922 GB, free: 5.805 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.209e-05/0.4562, allocations: 88.78 kB / 0.7923 GB, free: 5.734 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.096e-05/0.4563, allocations: 56.28 kB / 0.7924 GB, free: 5.699 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.927e-05/0.4564, allocations: 349.4 kB / 0.7927 GB, free: 5.371 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.4565, allocations: 109.2 kB / 0.7928 GB, free: 5.34 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.4568, allocations: 263.9 kB / 0.793 GB, free: 5.141 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003114/0.4571, allocations: 308 kB / 0.7933 GB, free: 4.98 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4571, allocations: 0 / 0.7933 GB, free: 4.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003982/0.4575, allocations: 370.5 kB / 0.7937 GB, free: 4.824 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.4575, allocations: 8 kB / 0.7937 GB, free: 4.824 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.4575, allocations: 4.047 kB / 0.7937 GB, free: 4.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.4575, allocations: 12.67 kB / 0.7937 GB, free: 4.812 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.4577, allocations: 61.31 kB / 0.7938 GB, free: 4.805 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.4577, allocations: 2.594 kB / 0.7938 GB, free: 4.805 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.4578, allocations: 42.7 kB / 0.7938 GB, free: 4.781 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.4579, allocations: 10.72 kB / 0.7938 GB, free: 4.781 MB / 0.6511 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.0001423/0.458, allocations: 171.7 kB / 0.794 GB, free: 4.633 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.047e-05/0.458, allocations: 43.27 kB / 0.794 GB, free: 4.609 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000429/0.4585, allocations: 375.4 kB / 0.7944 GB, free: 4.461 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.4585, allocations: 2.781 kB / 0.7944 GB, free: 4.461 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.4585, allocations: 0 / 0.7944 GB, free: 4.461 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.4585, allocations: 0 / 0.7944 GB, free: 4.461 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008795/0.4594, allocations: 0.8817 MB / 0.7953 GB, free: 3.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4594, allocations: 0 / 0.7953 GB, free: 3.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.4595, allocations: 50.91 kB / 0.7953 GB, free: 3.922 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.4595, allocations: 2.906 kB / 0.7953 GB, free: 3.922 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.4595, allocations: 11.2 kB / 0.7953 GB, free: 3.918 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.4595, allocations: 2.75 kB / 0.7953 GB, free: 3.918 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.4595, allocations: 7.25 kB / 0.7953 GB, free: 3.914 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006364/0.4602, allocations: 0.6276 MB / 0.7959 GB, free: 3.555 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.4603, allocations: 69.31 kB / 0.796 GB, free: 3.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.36e-05/0.4603, allocations: 6.844 kB / 0.796 GB, free: 3.516 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.4604, allocations: 18.95 kB / 0.796 GB, free: 3.508 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.4605, allocations: 17.36 kB / 0.796 GB, free: 3.508 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.4605, allocations: 13.03 kB / 0.7961 GB, free: 3.504 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002073/0.4607, allocations: 279.4 kB / 0.7963 GB, free: 3.367 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7e-08/0.4607, allocations: 0 / 0.7963 GB, free: 3.367 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003809/0.4611, allocations: 119.9 kB / 0.7964 GB, free: 3.34 MB / 0.6511 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.0009493/0.462, allocations: 1.215 MB / 0.7976 GB, free: 2.441 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003658/0.4624, allocations: 283.2 kB / 0.7979 GB, free: 2.359 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4624, allocations: 4.062 kB / 0.7979 GB, free: 2.355 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.4625, allocations: 143.6 kB / 0.798 GB, free: 2.312 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006758/0.4632, allocations: 220.1 kB / 0.7982 GB, free: 2.262 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0035/0.4667, allocations: 3.784 MB / 0.8019 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/0.4669, allocations: 227 kB / 0.8022 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002691/0.4671, allocations: 93.94 kB / 0.8022 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.4673, allocations: 144.4 kB / 0.8024 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of SimCode: time 1.152e-06/0.4673, allocations: 0 / 0.8024 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02691/0.4942, allocations: 13.15 MB / 0.8152 GB, free: 9.277 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.912/7.406, allocations: 9.938 kB / 0.8152 GB, free: 9.277 MB / 0.6667 GB " [Timeout remaining time 653] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.220687017776072] Failed to read output from testmodel.py, exit status != 0: 7.493807626888156 7.504737324 7.053241846 Calling exit ...