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.0007925/0.0007925, 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.0008371/0.0008371, 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.9184/0.9184, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.7325/0.7325, allocations: 154.6 MB / 413.8 MB, free: 0.7852 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 1.603e-06/1.603e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.309e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.4275/0.4276, allocations: 158.4 MB / 0.7728 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.007867/0.4354, allocations: 7.19 MB / 0.7799 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.4366, allocations: 27.78 kB / 0.7799 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0009539/0.4376, allocations: 251.5 kB / 0.7801 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.003453/0.441, allocations: 1.252 MB / 0.7813 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.00206/0.4431, allocations: 0.8126 MB / 0.7821 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001502/0.4446, allocations: 1.074 MB / 0.7832 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005234/0.4451, allocations: 322.6 kB / 0.7835 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002696/0.4478, allocations: 1.165 MB / 0.7846 GB, free: 9.84 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007015/0.4485, allocations: 395.3 kB / 0.785 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 6.362e-05/0.4486, allocations: 36.97 kB / 0.785 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001493/0.45, allocations: 0.7913 MB / 0.7858 GB, free: 9.426 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.4502, allocations: 172 kB / 0.786 GB, free: 9.344 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.000217/0.4505, allocations: 171.9 kB / 0.7861 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.00165/0.4521, allocations: 0.948 MB / 0.7871 GB, free: 8.953 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.4521, allocations: 1.344 kB / 0.7871 GB, free: 8.953 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.043e-06/0.4521, allocations: 0 / 0.7871 GB, free: 8.953 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.4521, allocations: 0 / 0.7871 GB, free: 8.953 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.001151/0.4533, allocations: 0.7438 MB / 0.7878 GB, free: 8.402 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.4533, allocations: 10.31 kB / 0.7878 GB, free: 8.402 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.283e-05/0.4534, allocations: 79.69 kB / 0.7879 GB, free: 8.34 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006553/0.454, allocations: 154 kB / 0.788 GB, free: 8.301 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005266/0.4546, allocations: 350.3 kB / 0.7884 GB, free: 8.051 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.4546, allocations: 28.09 kB / 0.7884 GB, free: 8.039 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.056e-05/0.4547, allocations: 41.95 kB / 0.7884 GB, free: 8.023 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005513/0.4552, allocations: 451.3 kB / 0.7889 GB, free: 7.805 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.4552, allocations: 0 / 0.7889 GB, free: 7.805 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/0.4552, allocations: 16 kB / 0.7889 GB, free: 7.793 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.4553, allocations: 9.906 kB / 0.7889 GB, free: 7.793 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004152/0.4557, allocations: 323.3 kB / 0.7892 GB, free: 7.688 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001491/0.4572, allocations: 1.483 MB / 0.7906 GB, free: 6.637 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.4574, allocations: 228.8 kB / 0.7909 GB, free: 6.535 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.4576, allocations: 138 kB / 0.791 GB, free: 6.488 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002967/0.4579, allocations: 77.53 kB / 0.7911 GB, free: 6.48 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.4579, allocations: 37.31 kB / 0.7911 GB, free: 6.438 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=24): time 2.765e-06/0.4579, allocations: 0 / 0.7911 GB, free: 6.438 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24): time 0.0007159/0.4586, allocations: 455.9 kB / 0.7915 GB, free: 6.277 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.4587, allocations: 53.78 kB / 0.7916 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003305/0.459, allocations: 409.6 kB / 0.792 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.459, allocations: 29.7 kB / 0.792 GB, free: 5.973 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.4592, allocations: 230.7 kB / 0.7922 GB, free: 5.785 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.573e-05/0.4592, allocations: 90.55 kB / 0.7923 GB, free: 5.711 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.677e-05/0.4593, allocations: 56.09 kB / 0.7924 GB, free: 5.68 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.4594, allocations: 351.9 kB / 0.7927 GB, free: 5.348 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.4595, allocations: 110.3 kB / 0.7928 GB, free: 5.316 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.4597, allocations: 262.8 kB / 0.7931 GB, free: 5.117 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003049/0.46, allocations: 305.8 kB / 0.7933 GB, free: 4.957 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4601, allocations: 3.531 kB / 0.7934 GB, free: 4.957 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004368/0.4605, allocations: 369.1 kB / 0.7937 GB, free: 4.801 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.4605, allocations: 5.344 kB / 0.7937 GB, free: 4.801 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.4605, allocations: 6.906 kB / 0.7937 GB, free: 4.797 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.4605, allocations: 6.469 kB / 0.7937 GB, free: 4.793 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.4607, allocations: 53.72 kB / 0.7938 GB, free: 4.793 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.4607, allocations: 8.375 kB / 0.7938 GB, free: 4.789 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.4609, allocations: 37.75 kB / 0.7938 GB, free: 4.766 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/0.4609, allocations: 23.62 kB / 0.7938 GB, free: 4.758 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.0001445/0.4611, allocations: 167.9 kB / 0.794 GB, free: 4.613 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.195e-05/0.4611, allocations: 40.73 kB / 0.794 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004318/0.4615, allocations: 371.9 kB / 0.7944 GB, free: 4.445 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.4615, allocations: 2.656 kB / 0.7944 GB, free: 4.445 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.4616, allocations: 2.109 kB / 0.7944 GB, free: 4.445 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.4616, allocations: 0 / 0.7944 GB, free: 4.445 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009522/0.4625, allocations: 0.8783 MB / 0.7953 GB, free: 3.918 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4625, allocations: 0 / 0.7953 GB, free: 3.918 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.4627, allocations: 45.25 kB / 0.7953 GB, free: 3.918 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.4627, allocations: 2.906 kB / 0.7953 GB, free: 3.918 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.4627, allocations: 9.609 kB / 0.7953 GB, free: 3.914 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.4627, allocations: 11 kB / 0.7953 GB, free: 3.906 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.4627, allocations: 7.031 kB / 0.7953 GB, free: 3.902 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005965/0.4633, allocations: 0.6245 MB / 0.7959 GB, free: 3.547 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.4634, allocations: 69.11 kB / 0.796 GB, free: 3.512 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.4634, allocations: 9.969 kB / 0.796 GB, free: 3.508 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.4635, allocations: 16.22 kB / 0.796 GB, free: 3.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/0.4636, allocations: 21.06 kB / 0.796 GB, free: 3.496 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.4636, allocations: 13.78 kB / 0.7961 GB, free: 3.492 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001925/0.4638, allocations: 283.8 kB / 0.7963 GB, free: 3.352 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6e-08/0.4638, allocations: 0 / 0.7963 GB, free: 3.352 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003853/0.4642, allocations: 117.6 kB / 0.7964 GB, free: 3.328 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.001019/0.4652, allocations: 1.213 MB / 0.7976 GB, free: 2.426 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004139/0.4656, allocations: 278.5 kB / 0.7979 GB, free: 2.348 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4656, allocations: 0 / 0.7979 GB, free: 2.348 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.4658, allocations: 147.7 kB / 0.798 GB, free: 2.301 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006992/0.4665, allocations: 218.9 kB / 0.7982 GB, free: 2.25 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003646/0.4701, allocations: 3.792 MB / 0.8019 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001683/0.4703, allocations: 224.5 kB / 0.8022 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003187/0.4706, allocations: 98.12 kB / 0.8023 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.4707, allocations: 144.5 kB / 0.8024 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of SimCode: time 1.232e-06/0.4707, allocations: 0 / 0.8024 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03071/0.5015, allocations: 13.15 MB / 0.8152 GB, free: 9.246 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.012/7.513, allocations: 10.09 kB / 0.8152 GB, free: 9.242 MB / 0.6667 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 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.259360741823912] Failed to read output from testmodel.py, exit status != 0: 7.600320154801011 7.609703027 7.155438662 Calling exit ...