Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.AirProperties.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.001118/0.001118, 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.001362/0.001362, 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.9256/0.9256, 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.7191/0.7191, allocations: 154.6 MB / 413.8 MB, free: 0.8008 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.Examples.AirProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.641e-05/1.777e-05, allocations: 6.75 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.4667/0.4667, allocations: 131.1 MB / 0.7461 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003423/0.4701, allocations: 3.299 MB / 0.7494 GB, free: 17.14 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.4703, allocations: 1.219 kB / 0.7494 GB, free: 17.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005197/0.4708, allocations: 58.17 kB / 0.7494 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003532/0.4711, allocations: 137.4 kB / 0.7495 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00246/0.4736, allocations: 1.085 MB / 0.7506 GB, free: 16.49 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003927/0.474, allocations: 337.3 kB / 0.7509 GB, free: 16.34 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.118e-05/0.474, allocations: 9.391 kB / 0.7509 GB, free: 16.34 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004452/0.4745, allocations: 251.3 kB / 0.7512 GB, free: 16.24 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/0.4747, allocations: 119.8 kB / 0.7513 GB, free: 16.21 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.4747, allocations: 11 kB / 0.7513 GB, free: 16.21 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.4761, allocations: 1.067 MB / 0.7523 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.4762, allocations: 77.08 kB / 0.7524 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.41e-05/0.4763, allocations: 86.31 kB / 0.7525 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0009733/0.4773, allocations: 0.675 MB / 0.7532 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.4773, allocations: 0 / 0.7532 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.647e-06/0.4773, allocations: 0.8438 kB / 0.7532 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.4773, allocations: 0 / 0.7532 GB, free: 15.51 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001055/0.4784, allocations: 0.5219 MB / 0.7537 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.4784, allocations: 10 kB / 0.7537 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.41e-05/0.4785, allocations: 55.81 kB / 0.7537 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006664/0.4791, allocations: 131.8 kB / 0.7539 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.4794, allocations: 162.8 kB / 0.754 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.4794, allocations: 12.78 kB / 0.754 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.4794, allocations: 27.75 kB / 0.754 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005018/0.4799, allocations: 0.5916 MB / 0.7546 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.4799, allocations: 0 / 0.7546 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.48, allocations: 11.94 kB / 0.7546 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.194e-05/0.48, allocations: 20.27 kB / 0.7547 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004317/0.4804, allocations: 322.9 kB / 0.755 GB, free: 14.3 MB / 0.6355 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.001136/0.4816, allocations: 0.938 MB / 0.7559 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003661/0.4819, allocations: 180.4 kB / 0.7561 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.482, allocations: 81.52 kB / 0.7561 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002527/0.4823, allocations: 75.92 kB / 0.7562 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.4823, allocations: 34.05 kB / 0.7562 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=21): time 1.322e-06/0.4823, allocations: 1.5 kB / 0.7562 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21): time 0.0004954/0.4828, allocations: 268.8 kB / 0.7565 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.4828, allocations: 57.91 kB / 0.7565 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.483, allocations: 210.6 kB / 0.7567 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.483, allocations: 29.12 kB / 0.7568 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.564e-05/0.4831, allocations: 151.5 kB / 0.7569 GB, free: 13 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.628e-05/0.4831, allocations: 76.94 kB / 0.757 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.419e-05/0.4832, allocations: 57.81 kB / 0.757 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.606e-05/0.4832, allocations: 325.8 kB / 0.7574 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.899e-05/0.4833, allocations: 74.08 kB / 0.7574 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.4835, allocations: 154.8 kB / 0.7576 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.4837, allocations: 249.9 kB / 0.7578 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4837, allocations: 1.031 kB / 0.7578 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003684/0.4841, allocations: 285.9 kB / 0.7581 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.4841, allocations: 6.406 kB / 0.7581 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.4841, allocations: 6.469 kB / 0.7581 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.4841, allocations: 6.078 kB / 0.7581 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.4843, allocations: 53.67 kB / 0.7582 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.4843, allocations: 5.266 kB / 0.7582 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.675e-05/0.4844, allocations: 36.3 kB / 0.7582 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.4844, allocations: 11.16 kB / 0.7582 GB, free: 12.14 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.855e-05/0.4845, allocations: 138.4 kB / 0.7583 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.842e-05/0.4845, allocations: 27.56 kB / 0.7584 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003683/0.4849, allocations: 282.1 kB / 0.7586 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.4849, allocations: 7.438 kB / 0.7586 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4849, allocations: 9.25 kB / 0.7587 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.4849, allocations: 5.062 kB / 0.7587 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004918/0.4854, allocations: 0.5365 MB / 0.7592 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.4854, allocations: 4.5 kB / 0.7592 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.7e-05/0.4855, allocations: 25.61 kB / 0.7592 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.4855, allocations: 2.281 kB / 0.7592 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.4855, allocations: 15.19 kB / 0.7592 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4855, allocations: 1.094 kB / 0.7592 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.4855, allocations: 1.875 kB / 0.7592 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/0.4858, allocations: 355.1 kB / 0.7596 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.839e-05/0.4859, allocations: 41.97 kB / 0.7596 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.4859, allocations: 10.67 kB / 0.7596 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.4861, allocations: 8.938 kB / 0.7596 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.4861, allocations: 19.56 kB / 0.7596 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.4861, allocations: 11.06 kB / 0.7597 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.972e-05/0.4862, allocations: 160.1 kB / 0.7598 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4862, allocations: 0 / 0.7598 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000343/0.4865, allocations: 124.5 kB / 0.7599 GB, free: 11.14 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0007204/0.4873, allocations: 1.003 MB / 0.7609 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002936/0.4876, allocations: 201.8 kB / 0.7611 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.4876, allocations: 1.344 kB / 0.7611 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.4877, allocations: 98.41 kB / 0.7612 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.4881, allocations: 98.77 kB / 0.7613 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/0.4901, allocations: 2.485 MB / 0.7637 GB, free: 8.488 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.427e-05/0.4902, allocations: 125.1 kB / 0.7638 GB, free: 8.414 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001513/0.4903, allocations: 60.53 kB / 0.7639 GB, free: 8.387 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.285e-05/0.4904, allocations: 57.33 kB / 0.7639 GB, free: 8.352 MB / 0.6355 GB Notification: Performance of SimCode: time 1.272e-06/0.4904, allocations: 0 / 0.7639 GB, free: 8.352 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.5153, allocations: 8.896 MB / 0.7726 GB, free: 6.855 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.187/7.702, allocations: 1.125 kB / 0.7726 GB, free: 6.855 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Media.Examples.AirProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirProperties.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Examples.AirProperties_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_Examples_AirProperties.fmu > IDEAS_IDEAS.Media.Examples.AirProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.584513330832124] Failed to read output from testmodel.py, exit status != 0: 7.784393958747387 7.796443444 7.316515894 Calling exit ...