Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009373/0.0009373, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001588/0.001588, allocations: 211.6 kB / 22.25 MB, free: 3.586 MB / 13.93 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.9955/0.9955, allocations: 230.6 MB / 256 MB, free: 9.434 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7381/0.7381, allocations: 203.8 MB / 0.5042 GB, free: 10.44 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 74.8 kB / 0.7182 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5317/0.5329, allocations: 102 MB / 0.8178 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirProperties): time 0.1434/0.6763, allocations: 131.1 MB / 0.9458 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003304/0.6796, allocations: 3.283 MB / 0.949 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.6797, allocations: 0 / 0.949 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003909/0.6801, allocations: 67.64 kB / 0.9491 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.6804, allocations: 139.2 kB / 0.9492 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.003117/0.6835, allocations: 1.059 MB / 0.9503 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003855/0.6839, allocations: 319.7 kB / 0.9506 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 5.666e-05/0.684, allocations: 13.55 kB / 0.9506 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003682/0.6844, allocations: 195.2 kB / 0.9508 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.6845, allocations: 139.5 kB / 0.9509 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.6845, allocations: 16 kB / 0.9509 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.6861, allocations: 1.044 MB / 0.9519 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.6863, allocations: 75.78 kB / 0.952 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.76e-05/0.6863, allocations: 95.64 kB / 0.9521 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0009557/0.6873, allocations: 0.6176 MB / 0.9527 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.6873, allocations: 0 / 0.9527 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.795e-06/0.6873, allocations: 0 / 0.9527 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.6873, allocations: 0 / 0.9527 GB, free: 11.1 MB / 0.7292 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.0009745/0.6883, allocations: 0.5204 MB / 0.9532 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.6883, allocations: 12.02 kB / 0.9532 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.893e-05/0.6884, allocations: 54.73 kB / 0.9533 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006481/0.689, allocations: 136.7 kB / 0.9534 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.6892, allocations: 173.9 kB / 0.9536 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.6893, allocations: 12.38 kB / 0.9536 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.6893, allocations: 16 kB / 0.9536 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005051/0.6898, allocations: 0.5853 MB / 0.9542 GB, free: 9.449 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.6898, allocations: 7.938 kB / 0.9542 GB, free: 9.441 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/0.6898, allocations: 8 kB / 0.9542 GB, free: 9.434 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-05/0.6898, allocations: 19.94 kB / 0.9542 GB, free: 9.414 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003472/0.6902, allocations: 316.1 kB / 0.9545 GB, free: 9.105 MB / 0.7292 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.001096/0.6913, allocations: 0.9536 MB / 0.9554 GB, free: 8.094 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003475/0.6916, allocations: 180.9 kB / 0.9556 GB, free: 7.91 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.376e-05/0.6917, allocations: 78.44 kB / 0.9557 GB, free: 7.832 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002218/0.692, allocations: 71.94 kB / 0.9558 GB, free: 7.762 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.692, allocations: 38.56 kB / 0.9558 GB, free: 7.715 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=21): time 1.774e-06/0.692, allocations: 0 / 0.9558 GB, free: 7.715 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21): time 0.0004556/0.6924, allocations: 269.3 kB / 0.956 GB, free: 7.445 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.6925, allocations: 55.41 kB / 0.9561 GB, free: 7.379 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.6926, allocations: 208.3 kB / 0.9563 GB, free: 7.164 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.6927, allocations: 33.7 kB / 0.9563 GB, free: 7.125 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.479e-05/0.6927, allocations: 144.3 kB / 0.9565 GB, free: 6.977 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.657e-05/0.6928, allocations: 87.23 kB / 0.9566 GB, free: 6.891 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.544e-05/0.6928, allocations: 49.7 kB / 0.9566 GB, free: 6.836 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.731e-05/0.6929, allocations: 330.8 kB / 0.9569 GB, free: 6.504 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.871e-05/0.693, allocations: 68.22 kB / 0.957 GB, free: 6.438 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.6932, allocations: 164.7 kB / 0.9571 GB, free: 6.238 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.6934, allocations: 250.8 kB / 0.9574 GB, free: 5.957 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.6934, allocations: 15.94 kB / 0.9574 GB, free: 5.941 MB / 0.7292 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000343/0.6937, allocations: 277.2 kB / 0.9577 GB, free: 5.664 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.6937, allocations: 11.98 kB / 0.9577 GB, free: 5.652 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.6938, allocations: 4 kB / 0.9577 GB, free: 5.648 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.6938, allocations: 7.938 kB / 0.9577 GB, free: 5.641 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.6939, allocations: 48.3 kB / 0.9577 GB, free: 5.594 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.6939, allocations: 11.98 kB / 0.9577 GB, free: 5.582 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.694, allocations: 31.73 kB / 0.9578 GB, free: 5.551 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.694, allocations: 16 kB / 0.9578 GB, free: 5.535 MB / 0.7292 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.0001011/0.6942, allocations: 141.6 kB / 0.9579 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.219e-05/0.6942, allocations: 27.89 kB / 0.9579 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003441/0.6946, allocations: 275.3 kB / 0.9582 GB, free: 5.082 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.6946, allocations: 7.984 kB / 0.9582 GB, free: 5.074 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.6946, allocations: 0 / 0.9582 GB, free: 5.074 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.6946, allocations: 0 / 0.9582 GB, free: 5.074 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005185/0.6951, allocations: 0.5458 MB / 0.9587 GB, free: 4.473 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.6951, allocations: 0 / 0.9587 GB, free: 4.473 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.437e-05/0.6952, allocations: 35.92 kB / 0.9588 GB, free: 4.438 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.6952, allocations: 3.938 kB / 0.9588 GB, free: 4.434 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.6952, allocations: 4 kB / 0.9588 GB, free: 4.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.6952, allocations: 0 / 0.9588 GB, free: 4.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.6952, allocations: 0 / 0.9588 GB, free: 4.43 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.6956, allocations: 355.3 kB / 0.9591 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-05/0.6956, allocations: 43.81 kB / 0.9592 GB, free: 4.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.6957, allocations: 12.05 kB / 0.9592 GB, free: 4.008 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.6958, allocations: 8 kB / 0.9592 GB, free: 4 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/0.6958, allocations: 19.91 kB / 0.9592 GB, free: 3.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.6958, allocations: 12 kB / 0.9592 GB, free: 3.969 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.456e-05/0.6959, allocations: 152.3 kB / 0.9594 GB, free: 3.82 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.6959, allocations: 0 / 0.9594 GB, free: 3.82 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004242/0.6964, allocations: 127.8 kB / 0.9595 GB, free: 3.695 MB / 0.7292 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.0008881/0.6972, allocations: 0.9947 MB / 0.9605 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003193/0.6976, allocations: 204.8 kB / 0.9607 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.6976, allocations: 4 kB / 0.9607 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.259e-05/0.6977, allocations: 104.5 kB / 0.9608 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.6981, allocations: 92.03 kB / 0.9608 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.7005, allocations: 2.501 MB / 0.9633 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.314e-05/0.7006, allocations: 124.4 kB / 0.9634 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001766/0.7007, allocations: 58.23 kB / 0.9635 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.446e-05/0.7008, allocations: 59.42 kB / 0.9635 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of SimCode: time 9.62e-07/0.7008, allocations: 4 kB / 0.9635 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02714/0.728, allocations: 8.794 MB / 0.9721 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.033/7.761, allocations: 8.844 kB / 0.9721 GB, free: 6.77 MB / 0.7448 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_AirProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.AirProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.648858738131821] Failed to read output from testmodel.py, exit status != 0: 7.843629220034927 7.851689685 7.162553388 Calling exit ...