Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001758/0.001758, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.001853/0.001853, allocations: 186.6 kB / 22.22 MB, free: 5.16 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.486/1.486, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.137/1.137, allocations: 177.9 MB / 484.2 MB, free: 5.367 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: translateModel(IDEAS.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamProperties") translateModel(IDEAS.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002309/0.002309, allocations: 72.88 kB / 0.674 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6799/0.6823, allocations: 95.16 MB / 0.7669 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.2107/0.8929, allocations: 136.5 MB / 0.9003 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03356/0.9265, allocations: 22.83 MB / 0.9226 GB, free: 3.258 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002308/0.9267, allocations: 0 / 0.9226 GB, free: 3.258 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0003698/0.9271, allocations: 51.66 kB / 0.9226 GB, free: 3.207 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0003551/0.9274, allocations: 95.36 kB / 0.9227 GB, free: 3.113 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.02289/0.9503, allocations: 6.968 MB / 0.9295 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005862/0.9509, allocations: 259.8 kB / 0.9298 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.886e-05/0.951, allocations: 9.75 kB / 0.9298 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004133/0.9514, allocations: 143.5 kB / 0.9299 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.9516, allocations: 87.66 kB / 0.93 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.9516, allocations: 11.94 kB / 0.93 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02933/0.9809, allocations: 11.68 MB / 0.9414 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000197/0.9811, allocations: 47.81 kB / 0.9414 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002303/0.9814, allocations: 71.67 kB / 0.9415 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.02319/1.005, allocations: 6.497 MB / 0.9479 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/1.005, allocations: 0 / 0.9479 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.643e-06/1.005, allocations: 0 / 0.9479 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.478e-06/1.005, allocations: 4 kB / 0.9479 GB, free: 9.336 MB / 0.7325 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.005212/1.01, allocations: 1.175 MB / 0.949 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/1.01, allocations: 11.97 kB / 0.949 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/1.011, allocations: 84.75 kB / 0.9491 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/1.011, allocations: 166.3 kB / 0.9493 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/1.011, allocations: 16.12 kB / 0.9493 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/1.011, allocations: 16 kB / 0.9493 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/1.013, allocations: 480.5 kB / 0.9498 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/1.013, allocations: 0 / 0.9498 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.081e-05/1.013, allocations: 8 kB / 0.9498 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/1.013, allocations: 7.984 kB / 0.9498 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/1.014, allocations: 0.6205 MB / 0.9504 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/1.015, allocations: 0.8502 MB / 0.9512 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009317/1.016, allocations: 236.1 kB / 0.9514 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/1.017, allocations: 64.77 kB / 0.9515 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09187/1.108, allocations: 23.09 MB / 0.974 GB, free: 14.31 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.954e-05/1.108, allocations: 34.56 kB / 0.9741 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=25): time 1.904e-06/1.108, allocations: 0 / 0.9741 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of matching and sorting (n=25): time 0.001955/1.11, allocations: 420.4 kB / 0.9745 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/1.11, allocations: 55.41 kB / 0.9745 GB, free: 13.79 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/1.111, allocations: 144.2 kB / 0.9747 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.741e-05/1.111, allocations: 29.7 kB / 0.9747 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/1.111, allocations: 116.4 kB / 0.9748 GB, free: 13.49 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 8.938e-05/1.111, allocations: 87.22 kB / 0.9749 GB, free: 13.4 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/1.111, allocations: 81.66 kB / 0.975 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001718/1.111, allocations: 326.8 kB / 0.9753 GB, free: 12.99 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/1.111, allocations: 79.95 kB / 0.9754 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/1.112, allocations: 134.8 kB / 0.9755 GB, free: 12.76 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004936/1.112, allocations: 220.9 kB / 0.9757 GB, free: 12.53 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/1.112, allocations: 0 / 0.9757 GB, free: 12.53 MB / 0.7637 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008072/1.113, allocations: 305 kB / 0.976 GB, free: 12.23 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/1.113, allocations: 8 kB / 0.976 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/1.113, allocations: 3.938 kB / 0.976 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/1.113, allocations: 8 kB / 0.976 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/1.113, allocations: 83.88 kB / 0.9761 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/1.113, allocations: 4 kB / 0.9761 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/1.114, allocations: 23.77 kB / 0.9761 GB, free: 12.1 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.068e-05/1.114, allocations: 19.98 kB / 0.9761 GB, free: 12.08 MB / 0.7637 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.0001982/1.114, allocations: 133.9 kB / 0.9763 GB, free: 11.94 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/1.114, allocations: 23.91 kB / 0.9763 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003068/1.117, allocations: 2.487 MB / 0.9787 GB, free: 9.422 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/1.117, allocations: 7.984 kB / 0.9787 GB, free: 9.414 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/1.117, allocations: 0 / 0.9787 GB, free: 9.414 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/1.117, allocations: 3.938 kB / 0.9787 GB, free: 9.41 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004283/1.121, allocations: 3.606 MB / 0.9822 GB, free: 5.699 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/1.121, allocations: 0 / 0.9822 GB, free: 5.699 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002817/1.122, allocations: 55.89 kB / 0.9823 GB, free: 5.645 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/1.122, allocations: 4 kB / 0.9823 GB, free: 5.641 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/1.122, allocations: 11.92 kB / 0.9823 GB, free: 5.629 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/1.122, allocations: 4 kB / 0.9823 GB, free: 5.625 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.122, allocations: 0 / 0.9823 GB, free: 5.625 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009271/1.123, allocations: 0.5513 MB / 0.9829 GB, free: 5.059 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/1.123, allocations: 63.62 kB / 0.9829 GB, free: 4.996 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.121e-05/1.123, allocations: 11.94 kB / 0.9829 GB, free: 4.984 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/1.123, allocations: 19.92 kB / 0.9829 GB, free: 4.965 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/1.123, allocations: 15.97 kB / 0.983 GB, free: 4.949 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-05/1.123, allocations: 12 kB / 0.983 GB, free: 4.938 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.000113/1.123, allocations: 109.1 kB / 0.9831 GB, free: 4.832 MB / 0.7637 GB Notification: Performance of sort global known variables: time 7e-08/1.123, allocations: 0 / 0.9831 GB, free: 4.832 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.006054/1.129, allocations: 1.711 MB / 0.9847 GB, free: 3.117 MB / 0.7637 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.009581/1.139, allocations: 1.947 MB / 0.9866 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0008575/1.14, allocations: 316.3 kB / 0.9869 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.14, allocations: 320 / 0.9869 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003616/1.14, allocations: 205.2 kB / 0.9871 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006312/1.141, allocations: 63.83 kB / 0.9872 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/1.142, allocations: 0.6483 MB / 0.9878 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/1.142, allocations: 0.766 MB / 0.9886 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0006059/1.143, allocations: 413 kB / 0.989 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/1.143, allocations: 47.41 kB / 0.989 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of SimCode: time 6.01e-07/1.143, allocations: 0 / 0.989 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of Templates: time 0.0917/1.235, allocations: 59.74 MB / 1.047 GB, free: 2.879 MB / 0.8262 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamProperties.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.975084798410535] Failed to read output from testmodel.py, exit status != 0: 1.2444192562252283 1.259849228 0.25170079900000003 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fc39149d7b0>