Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.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.001318/0.001318, 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.0008635/0.0008635, 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.8866/0.8866, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7176/0.7176, allocations: 154.6 MB / 413.8 MB, free: 0.7812 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.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.6182 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.843e-05/2.013e-05, allocations: 7.781 kB / 0.6182 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01127/0.01129, allocations: 11.94 MB / 0.6298 GB, free: 1.574 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001608/0.0129, allocations: 2.422 MB / 0.6322 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.207e-05/0.01298, allocations: 3.938 kB / 0.6322 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002536/0.01323, allocations: 39.7 kB / 0.6322 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.01346, allocations: 103.2 kB / 0.6323 GB, free: 15 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008852/0.01435, allocations: 0.5393 MB / 0.6329 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.01456, allocations: 243.7 kB / 0.6331 GB, free: 14.22 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.83e-05/0.0146, allocations: 13.75 kB / 0.6331 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005382/0.01999, allocations: 3.631 MB / 0.6366 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.02016, allocations: 79.77 kB / 0.6367 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.02019, allocations: 8 kB / 0.6367 GB, free: 10.47 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001746/0.02193, allocations: 1.051 MB / 0.6378 GB, free: 9.426 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.598e-05/0.02201, allocations: 43.88 kB / 0.6378 GB, free: 9.383 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.079e-05/0.02207, allocations: 59.84 kB / 0.6379 GB, free: 9.324 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005123/0.02258, allocations: 378.9 kB / 0.6382 GB, free: 8.953 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.02259, allocations: 7.984 kB / 0.6382 GB, free: 8.945 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.613e-06/0.02259, allocations: 0 / 0.6382 GB, free: 8.945 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.0226, allocations: 0 / 0.6382 GB, free: 8.945 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007106/0.02331, allocations: 449.4 kB / 0.6387 GB, free: 8.477 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.02335, allocations: 8.031 kB / 0.6387 GB, free: 8.469 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.097e-05/0.0234, allocations: 50.73 kB / 0.6387 GB, free: 8.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.02352, allocations: 24.83 kB / 0.6387 GB, free: 8.387 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.02375, allocations: 161.5 kB / 0.6389 GB, free: 8.203 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.02376, allocations: 12.7 kB / 0.6389 GB, free: 8.191 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.02378, allocations: 16.38 kB / 0.6389 GB, free: 8.176 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003438/0.02412, allocations: 489 kB / 0.6394 GB, free: 7.625 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.02413, allocations: 4.125 kB / 0.6394 GB, free: 7.621 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.02415, allocations: 15.94 kB / 0.6394 GB, free: 7.605 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.02417, allocations: 7.938 kB / 0.6394 GB, free: 7.598 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003133/0.02449, allocations: 427.3 kB / 0.6398 GB, free: 7.18 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007869/0.02527, allocations: 0.8164 MB / 0.6406 GB, free: 6.305 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.0255, allocations: 143.5 kB / 0.6407 GB, free: 6.156 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.063e-05/0.02558, allocations: 56.88 kB / 0.6408 GB, free: 6.098 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004808/0.02606, allocations: 463.8 kB / 0.6412 GB, free: 5.625 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.02608, allocations: 42.5 kB / 0.6413 GB, free: 5.574 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.022e-06/0.02608, allocations: 0 / 0.6413 GB, free: 5.574 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0002393/0.02632, allocations: 145.5 kB / 0.6414 GB, free: 5.426 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.02635, allocations: 51.41 kB / 0.6415 GB, free: 5.363 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.02646, allocations: 181.5 kB / 0.6416 GB, free: 5.176 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.02647, allocations: 37.64 kB / 0.6417 GB, free: 5.133 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.821e-05/0.02654, allocations: 136.1 kB / 0.6418 GB, free: 4.996 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.02657, allocations: 59.52 kB / 0.6419 GB, free: 4.938 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.604e-05/0.02661, allocations: 49.7 kB / 0.6419 GB, free: 4.883 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.02e-05/0.02669, allocations: 334.8 kB / 0.6422 GB, free: 4.547 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.353e-05/0.02674, allocations: 31.98 kB / 0.6423 GB, free: 4.516 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.021e-05/0.02683, allocations: 133.7 kB / 0.6424 GB, free: 4.332 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.02698, allocations: 200.1 kB / 0.6426 GB, free: 4.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.02699, allocations: 0 / 0.6426 GB, free: 4.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003559/0.02734, allocations: 225.2 kB / 0.6428 GB, free: 3.863 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.02735, allocations: 8 kB / 0.6428 GB, free: 3.855 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.02736, allocations: 4 kB / 0.6428 GB, free: 3.852 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.02737, allocations: 4 kB / 0.6428 GB, free: 3.848 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.02748, allocations: 59.91 kB / 0.6429 GB, free: 3.789 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.02749, allocations: 11.94 kB / 0.6429 GB, free: 3.777 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.088e-05/0.02755, allocations: 31.72 kB / 0.6429 GB, free: 3.746 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.02757, allocations: 12.34 kB / 0.6429 GB, free: 3.734 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 7.668e-05/0.02764, allocations: 137.8 kB / 0.6431 GB, free: 3.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.02767, allocations: 15.91 kB / 0.6431 GB, free: 3.574 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002004/0.02787, allocations: 151.9 kB / 0.6432 GB, free: 3.426 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/0.02788, allocations: 4 kB / 0.6432 GB, free: 3.422 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.02788, allocations: 0 / 0.6432 GB, free: 3.422 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.02789, allocations: 3.938 kB / 0.6432 GB, free: 3.418 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.02803, allocations: 180.6 kB / 0.6434 GB, free: 3.199 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.02804, allocations: 0 / 0.6434 GB, free: 3.199 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.317e-05/0.02809, allocations: 31.92 kB / 0.6434 GB, free: 3.168 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.02809, allocations: 8 kB / 0.6434 GB, free: 3.16 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.0281, allocations: 4 kB / 0.6434 GB, free: 3.156 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.0281, allocations: 0 / 0.6434 GB, free: 3.156 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.0281, allocations: 0 / 0.6434 GB, free: 3.156 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.02826, allocations: 227.4 kB / 0.6437 GB, free: 2.918 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.213e-05/0.0283, allocations: 35.75 kB / 0.6437 GB, free: 2.883 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.02832, allocations: 4 kB / 0.6437 GB, free: 2.879 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.876e-05/0.02842, allocations: 15.98 kB / 0.6437 GB, free: 2.863 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.769e-05/0.02843, allocations: 11.97 kB / 0.6437 GB, free: 2.852 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.02845, allocations: 11.94 kB / 0.6437 GB, free: 2.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.694e-05/0.0285, allocations: 128.8 kB / 0.6439 GB, free: 2.715 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.0285, allocations: 4 kB / 0.6439 GB, free: 2.711 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002533/0.02876, allocations: 79.86 kB / 0.6439 GB, free: 2.633 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0004973/0.02925, allocations: 0.8408 MB / 0.6448 GB, free: 1.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001678/0.02942, allocations: 118.5 kB / 0.6449 GB, free: 1.656 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.02942, allocations: 3.938 kB / 0.6449 GB, free: 1.652 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.783e-05/0.02946, allocations: 39.92 kB / 0.6449 GB, free: 1.613 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.02974, allocations: 64.83 kB / 0.645 GB, free: 1.551 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.03128, allocations: 2.019 MB / 0.6469 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.705e-05/0.03135, allocations: 102.9 kB / 0.647 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001213/0.03148, allocations: 48.38 kB / 0.6471 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.03154, allocations: 48.48 kB / 0.6471 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of SimCode: time 7.41e-07/0.03154, allocations: 0 / 0.6471 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/0.04993, allocations: 6.453 MB / 0.6534 GB, free: 8.941 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.045/7.095, allocations: 5.938 kB / 0.6534 GB, free: 8.938 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.953459260985255] Failed to read output from testmodel.py, exit status != 0: 7.176728348247707 7.192931358 7.167311143 Calling exit ...