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.0009853/0.0009853, 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.0008563/0.0008563, allocations: 165.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.1 MB / 202.8 MB, free: 5.762 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.7471/0.7471, allocations: 154.6 MB / 413.8 MB, free: 0.8125 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.803e-06/1.803e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.632e-05, allocations: 7.25 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.4743/0.4744, allocations: 131.1 MB / 0.7461 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003209/0.4776, allocations: 3.296 MB / 0.7494 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002099/0.4778, allocations: 0 / 0.7494 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000421/0.4782, allocations: 61.05 kB / 0.7494 GB, free: 17.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003768/0.4786, allocations: 146.7 kB / 0.7495 GB, free: 17.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00279/0.4814, allocations: 1.073 MB / 0.7506 GB, free: 16.53 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005084/0.4819, allocations: 333 kB / 0.7509 GB, free: 16.38 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 6.637e-05/0.4819, allocations: 9.25 kB / 0.7509 GB, free: 16.38 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004822/0.4824, allocations: 252 kB / 0.7512 GB, free: 16.28 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.4826, allocations: 119.7 kB / 0.7513 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.015e-05/0.4827, allocations: 11 kB / 0.7513 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002238/0.4849, allocations: 1.07 MB / 0.7523 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001574/0.4851, allocations: 74.42 kB / 0.7524 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.4852, allocations: 80.95 kB / 0.7525 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001617/0.4868, allocations: 0.6755 MB / 0.7531 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.4868, allocations: 0 / 0.7531 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.545e-06/0.4868, allocations: 1.5 kB / 0.7531 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.4868, allocations: 0 / 0.7531 GB, free: 15.55 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.001208/0.488, allocations: 0.5253 MB / 0.7537 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.4881, allocations: 13.44 kB / 0.7537 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.571e-05/0.4882, allocations: 56.23 kB / 0.7537 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000738/0.4889, allocations: 135.3 kB / 0.7539 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.4892, allocations: 159.4 kB / 0.754 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.4892, allocations: 12.56 kB / 0.754 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.4892, allocations: 25.14 kB / 0.754 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006106/0.4898, allocations: 0.59 MB / 0.7546 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.4898, allocations: 7.969 kB / 0.7546 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.4899, allocations: 11.28 kB / 0.7546 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.303e-05/0.4899, allocations: 17.09 kB / 0.7546 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004664/0.4904, allocations: 319.4 kB / 0.755 GB, free: 14.34 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.001257/0.4916, allocations: 0.9417 MB / 0.7559 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004005/0.492, allocations: 181 kB / 0.756 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.4921, allocations: 78.02 kB / 0.7561 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003022/0.4924, allocations: 76.91 kB / 0.7562 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.4925, allocations: 32.94 kB / 0.7562 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=21): time 2.184e-06/0.4925, allocations: 1.188 kB / 0.7562 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21): time 0.0005679/0.493, allocations: 271.5 kB / 0.7565 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.4931, allocations: 64.62 kB / 0.7565 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.4933, allocations: 210.8 kB / 0.7567 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.4933, allocations: 32.09 kB / 0.7568 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.149e-05/0.4934, allocations: 144 kB / 0.7569 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.157e-05/0.4934, allocations: 78.81 kB / 0.757 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-05/0.4935, allocations: 53.52 kB / 0.757 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.57e-05/0.4936, allocations: 324.5 kB / 0.7574 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.4937, allocations: 73.83 kB / 0.7574 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.4939, allocations: 159.5 kB / 0.7576 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/0.4942, allocations: 247.2 kB / 0.7578 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.4942, allocations: 1.156 kB / 0.7578 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004824/0.4947, allocations: 283.9 kB / 0.7581 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.4947, allocations: 5.406 kB / 0.7581 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.4947, allocations: 3.734 kB / 0.7581 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.867e-05/0.4948, allocations: 5.281 kB / 0.7581 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.4949, allocations: 53.69 kB / 0.7581 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/0.495, allocations: 10.27 kB / 0.7582 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.4951, allocations: 40.52 kB / 0.7582 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/0.4952, allocations: 11.52 kB / 0.7582 GB, free: 12.18 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 0.0001184/0.4953, allocations: 137.2 kB / 0.7583 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.581e-05/0.4954, allocations: 23.19 kB / 0.7584 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005068/0.4959, allocations: 288.9 kB / 0.7586 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.4959, allocations: 2.688 kB / 0.7586 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.4959, allocations: 1.188 kB / 0.7586 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.4959, allocations: 8.625 kB / 0.7586 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006327/0.4966, allocations: 0.5508 MB / 0.7592 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.4966, allocations: 1.375 kB / 0.7592 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.521e-05/0.4967, allocations: 24.47 kB / 0.7592 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.4967, allocations: 2.344 kB / 0.7592 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.4967, allocations: 11.36 kB / 0.7592 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.4967, allocations: 1.156 kB / 0.7592 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4967, allocations: 1.125 kB / 0.7592 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003716/0.497, allocations: 351.5 kB / 0.7596 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.4971, allocations: 43.08 kB / 0.7596 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.4972, allocations: 9.797 kB / 0.7596 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.4973, allocations: 17.48 kB / 0.7596 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.4973, allocations: 18.98 kB / 0.7596 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.972e-05/0.4974, allocations: 15.52 kB / 0.7597 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001086/0.4975, allocations: 151.8 kB / 0.7598 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4975, allocations: 0 / 0.7598 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005269/0.498, allocations: 125.3 kB / 0.7599 GB, free: 11.17 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.0009865/0.499, allocations: 0.9992 MB / 0.7609 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000441/0.4994, allocations: 201.5 kB / 0.7611 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.4994, allocations: 1.125 kB / 0.7611 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.4996, allocations: 94.52 kB / 0.7612 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004843/0.5, allocations: 103.9 kB / 0.7613 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/0.5023, allocations: 2.487 MB / 0.7637 GB, free: 8.527 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.5024, allocations: 125.2 kB / 0.7638 GB, free: 8.453 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002199/0.5027, allocations: 61.23 kB / 0.7639 GB, free: 8.426 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.835e-05/0.5028, allocations: 61.2 kB / 0.7639 GB, free: 8.387 MB / 0.6355 GB Notification: Performance of SimCode: time 1.363e-06/0.5028, allocations: 0 / 0.7639 GB, free: 8.387 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02941/0.5322, allocations: 8.889 MB / 0.7726 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.175/7.708, allocations: 1.344 kB / 0.7726 GB, free: 6.895 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_AirProperties.fmu > IDEAS_IDEAS.Media.Examples.AirProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.4955914337188] Failed to read output from testmodel.py, exit status != 0: 7.791968108154833 7.803366048 7.313921115 Calling exit ...