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.001973/0.001973, allocations: 105.3 kB / 16.4 MB, free: 6.445 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.002124/0.002124, allocations: 191.7 kB / 19.36 MB, free: 3.727 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.618/1.618, allocations: 222.9 MB / 245.1 MB, free: 4.352 MB / 190.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.338/1.338, allocations: 173.4 MB / 470.6 MB, free: 6.766 MB / 366.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.002026/0.002026, allocations: 65.88 kB / 0.6478 GB, free: 22.98 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2174, allocations: 89.51 MB / 0.7352 GB, free: 4.188 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.7041/0.9215, allocations: 136.1 MB / 0.8681 GB, free: 2.781 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03003/0.9516, allocations: 22.68 MB / 0.8902 GB, free: 2.309 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002892/0.9519, allocations: 2.156 kB / 0.8902 GB, free: 2.309 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0003677/0.9523, allocations: 46.58 kB / 0.8903 GB, free: 2.305 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0004343/0.9528, allocations: 92.38 kB / 0.8904 GB, free: 2.301 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.02911/0.9819, allocations: 6.941 MB / 0.8972 GB, free: 2.141 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0005493/0.9825, allocations: 249.1 kB / 0.8974 GB, free: 2.137 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 6.581e-05/0.9826, allocations: 18.64 kB / 0.8974 GB, free: 2.129 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000397/0.983, allocations: 147.7 kB / 0.8976 GB, free: 2.125 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/0.9832, allocations: 86.02 kB / 0.8976 GB, free: 2.125 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 2.969e-05/0.9832, allocations: 8.219 kB / 0.8976 GB, free: 2.125 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03049/1.014, allocations: 11.64 MB / 0.909 GB, free: 2.031 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001422/1.014, allocations: 41.78 kB / 0.9091 GB, free: 2.031 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002406/1.014, allocations: 80.22 kB / 0.9091 GB, free: 2.031 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.02289/1.037, allocations: 6.495 MB / 0.9155 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/1.037, allocations: 4 kB / 0.9155 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.605e-06/1.037, allocations: 0 / 0.9155 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.023e-05/1.037, allocations: 2.656 kB / 0.9155 GB, free: 15.93 MB / 0.6856 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.004953/1.042, allocations: 1.241 MB / 0.9167 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/1.042, allocations: 8.344 kB / 0.9167 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.755e-05/1.042, allocations: 51.98 kB / 0.9168 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/1.043, allocations: 84.52 kB / 0.9168 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004436/1.044, allocations: 236.2 kB / 0.9171 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/1.044, allocations: 16.84 kB / 0.9171 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/1.044, allocations: 13.22 kB / 0.9171 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/1.045, allocations: 451.3 kB / 0.9175 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/1.045, allocations: 3.094 kB / 0.9175 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/1.045, allocations: 9.562 kB / 0.9175 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/1.045, allocations: 5.438 kB / 0.9175 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/1.046, allocations: 0.5954 MB / 0.9181 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/1.048, allocations: 0.8822 MB / 0.919 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008756/1.049, allocations: 249.4 kB / 0.9192 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/1.049, allocations: 75.45 kB / 0.9193 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09624/1.145, allocations: 35.44 MB / 0.9539 GB, free: 1.543 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.17e-05/1.145, allocations: 34.97 kB / 0.9539 GB, free: 1.504 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=25): time 2.635e-06/1.145, allocations: 0 / 0.9539 GB, free: 1.504 MB / 0.7012 GB Notification: Performance of matching and sorting (n=25): time 0.001848/1.147, allocations: 414 kB / 0.9543 GB, free: 1.184 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.505e-05/1.147, allocations: 62.5 kB / 0.9544 GB, free: 1.113 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/1.147, allocations: 137.5 kB / 0.9545 GB, free: 0.9844 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.456e-05/1.147, allocations: 32.95 kB / 0.9545 GB, free: 0.9492 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 8.86e-05/1.147, allocations: 111.4 kB / 0.9547 GB, free: 0.8438 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 9.442e-05/1.148, allocations: 87.56 kB / 0.9547 GB, free: 0.7695 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/1.148, allocations: 77.73 kB / 0.9548 GB, free: 0.7109 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001714/1.148, allocations: 333.6 kB / 0.9551 GB, free: 392 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/1.148, allocations: 79.03 kB / 0.9552 GB, free: 336 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002959/1.148, allocations: 125.5 kB / 0.9553 GB, free: 220 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005305/1.149, allocations: 227.1 kB / 0.9555 GB, free: 52 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/1.149, allocations: 0 / 0.9555 GB, free: 52 kB / 0.7012 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008999/1.15, allocations: 295.9 kB / 0.9558 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/1.15, allocations: 4 kB / 0.9558 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/1.15, allocations: 4 kB / 0.9558 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.867e-05/1.15, allocations: 11.08 kB / 0.9558 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/1.15, allocations: 80.19 kB / 0.9559 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/1.15, allocations: 0 / 0.9559 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/1.15, allocations: 31.69 kB / 0.9559 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.543e-05/1.151, allocations: 27.11 kB / 0.956 GB, free: 15.7 MB / 0.7169 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.0001952/1.151, allocations: 126.7 kB / 0.9561 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/1.151, allocations: 11.95 kB / 0.9561 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00313/1.154, allocations: 2.35 MB / 0.9584 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.669e-05/1.154, allocations: 15.73 kB / 0.9584 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/1.154, allocations: 0 / 0.9584 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/1.154, allocations: 11.92 kB / 0.9584 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004446/1.159, allocations: 3.428 MB / 0.9618 GB, free: 9.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/1.159, allocations: 0 / 0.9618 GB, free: 9.898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003168/1.159, allocations: 55.05 kB / 0.9618 GB, free: 9.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/1.159, allocations: 1.094 kB / 0.9618 GB, free: 9.848 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/1.159, allocations: 11.94 kB / 0.9618 GB, free: 9.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/1.159, allocations: 0 / 0.9618 GB, free: 9.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.159, allocations: 0 / 0.9618 GB, free: 9.836 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/1.16, allocations: 0.5467 MB / 0.9624 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000234/1.16, allocations: 148.7 kB / 0.9625 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.593e-05/1.161, allocations: 3.938 kB / 0.9625 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/1.161, allocations: 12 kB / 0.9625 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/1.161, allocations: 19.97 kB / 0.9625 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/1.161, allocations: 12 kB / 0.9626 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001223/1.161, allocations: 113.7 kB / 0.9627 GB, free: 8.957 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/1.161, allocations: 0 / 0.9627 GB, free: 8.957 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.006357/1.167, allocations: 1.711 MB / 0.9643 GB, free: 7.242 MB / 0.7169 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.01212/1.18, allocations: 2.94 MB / 0.9672 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009372/1.181, allocations: 321.8 kB / 0.9675 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.181, allocations: 1.203 kB / 0.9675 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004386/1.181, allocations: 243.7 kB / 0.9678 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006593/1.182, allocations: 72.17 kB / 0.9678 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008186/1.19, allocations: 3.082 MB / 0.9708 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005124/1.19, allocations: 0.771 MB / 0.9716 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007139/1.191, allocations: 402.8 kB / 0.972 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002448/1.191, allocations: 103.4 kB / 0.9721 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of SimCode: time 1.032e-06/1.192, allocations: 0 / 0.9721 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.127/1.318, allocations: 63.13 MB / 1.034 GB, free: 296 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/14.15, allocations: 10.81 kB / 1.034 GB, free: 288 kB / 0.7794 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Examples.SteamProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.759178710984997] Failed to read output from testmodel.py, exit status != 0: 14.266287936945446 14.286751451 13.245956842 Calling exit ...