Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 110.8 kB / 16.41 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001277, allocations: 195.7 kB / 19.36 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8024/0.8024, allocations: 132.2 MB / 429.4 MB, free: 5.984 MB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Examples.SteamProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 64.36 kB / 0.5894 GB, free: 24.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1644, allocations: 80.2 MB / 0.6677 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.5455/0.71, allocations: 136.1 MB / 0.8007 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02491/0.735, allocations: 22.34 MB / 0.8225 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003161/0.7353, allocations: 1.281 kB / 0.8225 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0003802/0.7357, allocations: 48.59 kB / 0.8225 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004062/0.7362, allocations: 90.97 kB / 0.8226 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.02208/0.7583, allocations: 6.675 MB / 0.8291 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004443/0.7587, allocations: 248.8 kB / 0.8294 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.747e-05/0.7588, allocations: 10.94 kB / 0.8294 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003209/0.7591, allocations: 150.5 kB / 0.8295 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.7593, allocations: 88.44 kB / 0.8296 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.7593, allocations: 7.969 kB / 0.8296 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02166/0.781, allocations: 10.96 MB / 0.8403 GB, free: 0.7188 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.97e-05/0.7811, allocations: 35.03 kB / 0.8403 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.7813, allocations: 86.19 kB / 0.8404 GB, free: 0.6523 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01542/0.7967, allocations: 6.165 MB / 0.8464 GB, free: 13 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.7967, allocations: 4 kB / 0.8465 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.335e-06/0.7967, allocations: 2.562 kB / 0.8465 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.7968, allocations: 0 / 0.8465 GB, free: 12.99 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003882/0.8007, allocations: 1.222 MB / 0.8476 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.8007, allocations: 9.594 kB / 0.8477 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.315e-05/0.8008, allocations: 54.7 kB / 0.8477 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.8019, allocations: 80.67 kB / 0.8478 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.8021, allocations: 223 kB / 0.848 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.8022, allocations: 23.31 kB / 0.848 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.8022, allocations: 17.5 kB / 0.848 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.8033, allocations: 457.6 kB / 0.8485 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.8033, allocations: 0 / 0.8485 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.8034, allocations: 8 kB / 0.8485 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.8034, allocations: 4 kB / 0.8485 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.8046, allocations: 0.5931 MB / 0.8491 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.8058, allocations: 0.8902 MB / 0.8499 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000787/0.8066, allocations: 250.4 kB / 0.8502 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.8068, allocations: 72.84 kB / 0.8502 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09234/0.8991, allocations: 35.42 MB / 0.8848 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.8992, allocations: 41.62 kB / 0.8849 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 1.863e-06/0.8992, allocations: 0 / 0.8849 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001691/0.9009, allocations: 421.4 kB / 0.8853 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.901, allocations: 59.34 kB / 0.8853 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.9011, allocations: 144.1 kB / 0.8855 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.9012, allocations: 37.64 kB / 0.8855 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7.754e-05/0.9012, allocations: 108.5 kB / 0.8856 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 8.098e-05/0.9013, allocations: 90.27 kB / 0.8857 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.9015, allocations: 77.67 kB / 0.8858 GB, free: 1.875 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.9016, allocations: 330.8 kB / 0.8861 GB, free: 1.543 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.9018, allocations: 79.95 kB / 0.8862 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/0.902, allocations: 129 kB / 0.8863 GB, free: 1.32 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004241/0.9025, allocations: 225 kB / 0.8865 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.9025, allocations: 0 / 0.8865 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006979/0.9032, allocations: 302.1 kB / 0.8868 GB, free: 0.7812 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.9032, allocations: 4 kB / 0.8868 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.9032, allocations: 4 kB / 0.8868 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.9032, allocations: 4 kB / 0.8868 GB, free: 0.7695 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002813/0.9035, allocations: 79.88 kB / 0.8869 GB, free: 0.6914 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.9035, allocations: 0 / 0.8869 GB, free: 0.6914 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.9037, allocations: 23.98 kB / 0.8869 GB, free: 0.668 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-05/0.9037, allocations: 27.97 kB / 0.8869 GB, free: 0.6406 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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): 30 * 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.0001394/0.9039, allocations: 129.8 kB / 0.887 GB, free: 0.5039 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.904, allocations: 15.91 kB / 0.8871 GB, free: 500 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00267/0.9067, allocations: 2.338 MB / 0.8893 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-05/0.9068, allocations: 11.98 kB / 0.8894 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.9068, allocations: 3.938 kB / 0.8894 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/0.9068, allocations: 11.92 kB / 0.8894 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003625/0.9104, allocations: 3.421 MB / 0.8927 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.9104, allocations: 0 / 0.8927 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002522/0.9107, allocations: 55.89 kB / 0.8928 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.9107, allocations: 0 / 0.8928 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/0.9107, allocations: 15.88 kB / 0.8928 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.9108, allocations: 0 / 0.8928 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.9108, allocations: 0 / 0.8928 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008158/0.9116, allocations: 0.551 MB / 0.8933 GB, free: 9.941 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.9117, allocations: 150 kB / 0.8935 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.9118, allocations: 7.938 kB / 0.8935 GB, free: 9.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.912, allocations: 15.94 kB / 0.8935 GB, free: 9.754 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.912, allocations: 15.97 kB / 0.8935 GB, free: 9.738 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-05/0.9121, allocations: 12 kB / 0.8935 GB, free: 9.727 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.7e-05/0.9122, allocations: 109.4 kB / 0.8936 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9122, allocations: 0 / 0.8936 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.004658/0.9168, allocations: 1.645 MB / 0.8952 GB, free: 7.973 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.009714/0.9266, allocations: 2.909 MB / 0.8981 GB, free: 5.184 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008139/0.9274, allocations: 320.8 kB / 0.8984 GB, free: 4.871 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.9274, allocations: 3.938 kB / 0.8984 GB, free: 4.867 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003413/0.9278, allocations: 244.5 kB / 0.8986 GB, free: 4.629 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006442/0.9284, allocations: 74.16 kB / 0.8987 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006703/0.9351, allocations: 3.064 MB / 0.9017 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/0.9356, allocations: 0.7622 MB / 0.9024 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006103/0.9362, allocations: 409.3 kB / 0.9028 GB, free: 196 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002267/0.9364, allocations: 99.38 kB / 0.9029 GB, free: 100 kB / 0.6544 GB Notification: Performance of SimCode: time 1.022e-06/0.9365, allocations: 7.938 kB / 0.9029 GB, free: 92 kB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1088/1.045, allocations: 60.76 MB / 0.9622 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/13.21, allocations: 6.75 kB / 0.9622 GB, free: 3.359 MB / 0.7169 GB " [Timeout remaining time 647] (rm -f IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_SteamProperties.fmu > IDEAS_IDEAS.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.842367444885895] Failed to read output from testmodel.py, exit status != 0: 13.329860410885885 13.354416158 12.553327196 Calling exit ...