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.00165/0.00165, allocations: 106.6 kB / 16.45 MB, free: 6.035 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.001935/0.001935, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.454/1.454, allocations: 225.6 MB / 247.8 MB, free: 13.93 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/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.1/1.1, allocations: 175.8 MB / 478.5 MB, free: 8.469 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: "" <> buildModelFMU(IDEAS.Media.Examples.SteamProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 68.27 kB / 0.6652 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2315, allocations: 94.54 MB / 0.7575 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.6761/0.9076, allocations: 136.5 MB / 0.8908 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0323/0.9399, allocations: 22.76 MB / 0.9131 GB, free: 8.863 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002029/0.9401, allocations: 4 kB / 0.9131 GB, free: 8.859 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0003756/0.9405, allocations: 43.69 kB / 0.9131 GB, free: 8.816 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0004428/0.9409, allocations: 99.34 kB / 0.9132 GB, free: 8.719 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.02229/0.9632, allocations: 6.959 MB / 0.92 GB, free: 1.781 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0004661/0.9637, allocations: 255.9 kB / 0.9202 GB, free: 1.531 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 6.094e-05/0.9638, allocations: 5.562 kB / 0.9202 GB, free: 1.523 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003864/0.9641, allocations: 151.3 kB / 0.9204 GB, free: 1.375 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001919/0.9643, allocations: 87.66 kB / 0.9205 GB, free: 1.289 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.9644, allocations: 8 kB / 0.9205 GB, free: 1.281 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02482/0.9892, allocations: 11.67 MB / 0.9319 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.9893, allocations: 39.89 kB / 0.9319 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.9895, allocations: 79.66 kB / 0.932 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0175/1.007, allocations: 6.482 MB / 0.9383 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/1.007, allocations: 0 / 0.9383 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.164e-06/1.007, allocations: 4 kB / 0.9383 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.035e-05/1.007, allocations: 0 / 0.9383 GB, free: 14.98 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.0042/1.011, allocations: 1.246 MB / 0.9395 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/1.011, allocations: 8.031 kB / 0.9395 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000124/1.011, allocations: 50.73 kB / 0.9396 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001204/1.013, allocations: 89.5 kB / 0.9397 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/1.013, allocations: 224.1 kB / 0.9399 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/1.013, allocations: 15.94 kB / 0.9399 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/1.013, allocations: 20 kB / 0.9399 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/1.014, allocations: 449.1 kB / 0.9404 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/1.014, allocations: 0 / 0.9404 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/1.014, allocations: 12 kB / 0.9404 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/1.014, allocations: 4 kB / 0.9404 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/1.016, allocations: 0.5931 MB / 0.9409 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/1.017, allocations: 0.883 MB / 0.9418 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008839/1.018, allocations: 234.3 kB / 0.942 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/1.018, allocations: 68.11 kB / 0.9421 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09437/1.113, allocations: 35.44 MB / 0.9767 GB, free: 4.355 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/1.113, allocations: 30.56 kB / 0.9767 GB, free: 4.316 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=25): time 2.274e-06/1.113, allocations: 0 / 0.9767 GB, free: 4.316 MB / 0.7637 GB Notification: Performance of matching and sorting (n=25): time 0.001929/1.114, allocations: 421.4 kB / 0.9771 GB, free: 3.898 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/1.115, allocations: 55.41 kB / 0.9772 GB, free: 3.832 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/1.115, allocations: 152.4 kB / 0.9773 GB, free: 3.676 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.014e-05/1.115, allocations: 29.7 kB / 0.9774 GB, free: 3.641 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/1.115, allocations: 108.5 kB / 0.9775 GB, free: 3.531 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/1.115, allocations: 91.2 kB / 0.9776 GB, free: 3.441 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/1.115, allocations: 81.66 kB / 0.9776 GB, free: 3.355 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001729/1.115, allocations: 322.8 kB / 0.9779 GB, free: 3.031 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/1.115, allocations: 79.95 kB / 0.978 GB, free: 2.953 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/1.116, allocations: 130.1 kB / 0.9781 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004845/1.116, allocations: 221.2 kB / 0.9784 GB, free: 2.578 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.116, allocations: 4 kB / 0.9784 GB, free: 2.574 MB / 0.7637 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008363/1.117, allocations: 297.2 kB / 0.9786 GB, free: 2.277 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/1.117, allocations: 11.98 kB / 0.9787 GB, free: 2.266 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/1.117, allocations: 0 / 0.9787 GB, free: 2.266 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/1.117, allocations: 7.938 kB / 0.9787 GB, free: 2.258 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003177/1.117, allocations: 79.94 kB / 0.9787 GB, free: 2.18 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/1.117, allocations: 7.688 kB / 0.9787 GB, free: 2.176 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/1.118, allocations: 23.83 kB / 0.9788 GB, free: 2.152 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-05/1.118, allocations: 20.14 kB / 0.9788 GB, free: 2.133 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.0001511/1.118, allocations: 129.8 kB / 0.9789 GB, free: 1.996 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/1.118, allocations: 19.89 kB / 0.9789 GB, free: 1.977 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002761/1.121, allocations: 2.343 MB / 0.9812 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/1.121, allocations: 11.97 kB / 0.9812 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.121, allocations: 0 / 0.9812 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/1.121, allocations: 7.938 kB / 0.9812 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003903/1.125, allocations: 3.427 MB / 0.9846 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/1.125, allocations: 3.938 kB / 0.9846 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003179/1.125, allocations: 55.89 kB / 0.9846 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/1.125, allocations: 3.938 kB / 0.9846 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/1.125, allocations: 11.98 kB / 0.9847 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/1.125, allocations: 0 / 0.9847 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.125, allocations: 0 / 0.9847 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009029/1.126, allocations: 0.5428 MB / 0.9852 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/1.126, allocations: 148.7 kB / 0.9853 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/1.126, allocations: 7.938 kB / 0.9853 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/1.126, allocations: 15.98 kB / 0.9853 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/1.126, allocations: 11.98 kB / 0.9854 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.371e-05/1.127, allocations: 15.98 kB / 0.9854 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001021/1.127, allocations: 103.3 kB / 0.9855 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of sort global known variables: time 8e-08/1.127, allocations: 0 / 0.9855 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.005229/1.132, allocations: 1.711 MB / 0.9871 GB, free: 9.395 MB / 0.7794 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.01085/1.143, allocations: 2.953 MB / 0.99 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008401/1.144, allocations: 317.3 kB / 0.9903 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/1.144, allocations: 0 / 0.9903 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003736/1.144, allocations: 193.4 kB / 0.9905 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006764/1.145, allocations: 65.31 kB / 0.9906 GB, free: 5.863 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0075/1.152, allocations: 3.084 MB / 0.9936 GB, free: 2.668 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/1.153, allocations: 0.7622 MB / 0.9943 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0006659/1.153, allocations: 405.2 kB / 0.9947 GB, free: 1.477 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/1.153, allocations: 95.39 kB / 0.9948 GB, free: 1.387 MB / 0.7794 GB Notification: Performance of SimCode: time 9.42e-07/1.153, allocations: 0 / 0.9948 GB, free: 1.387 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1244/1.278, allocations: 63.17 MB / 1.057 GB, free: 2.234 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/14.26, allocations: 10.62 kB / 1.057 GB, free: 2.23 MB / 0.8419 GB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_SteamProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.350478591863066] Failed to read output from testmodel.py, exit status != 0: 14.382853675633669 14.399275738 13.388474728 Calling exit ...