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.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.001288/0.001288, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001468/0.001468, allocations: 209.3 kB / 22.25 MB, free: 5.086 MB / 14.72 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 1.474/1.474, allocations: 230.6 MB / 256 MB, free: 8.012 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.9279/0.9279, allocations: 134 MB / 446.4 MB, free: 10.27 MB / 350.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.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.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: 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.002054/0.002054, allocations: 67.98 kB / 0.6186 GB, free: 7.246 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.191, allocations: 85.9 MB / 0.7024 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.617/0.808, allocations: 139.4 MB / 0.8386 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03094/0.839, allocations: 22.53 MB / 0.8606 GB, free: 4.609 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001932/0.8391, allocations: 0 / 0.8606 GB, free: 4.609 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.8394, allocations: 43.69 kB / 0.8607 GB, free: 4.566 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0003272/0.8398, allocations: 99.34 kB / 0.8608 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.02/0.8598, allocations: 6.714 MB / 0.8673 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0005362/0.8603, allocations: 263.8 kB / 0.8676 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 5.457e-05/0.8604, allocations: 5.75 kB / 0.8676 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00039/0.8608, allocations: 147.4 kB / 0.8677 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.8609, allocations: 87.66 kB / 0.8678 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.861, allocations: 12 kB / 0.8678 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02413/0.8851, allocations: 11.03 MB / 0.8786 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.8852, allocations: 35.84 kB / 0.8786 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001672/0.8854, allocations: 79.66 kB / 0.8787 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01754/0.9029, allocations: 6.186 MB / 0.8847 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.9029, allocations: 0 / 0.8847 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9029, allocations: 0 / 0.8847 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.9029, allocations: 7.938 kB / 0.8847 GB, free: 11.91 MB / 0.6544 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.004124/0.9071, allocations: 1.155 MB / 0.8859 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.9071, allocations: 12.03 kB / 0.8859 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.082e-05/0.9072, allocations: 46.73 kB / 0.8859 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.9083, allocations: 88.75 kB / 0.886 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.9086, allocations: 170.4 kB / 0.8862 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.9086, allocations: 15.94 kB / 0.8862 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.9087, allocations: 12 kB / 0.8862 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.9099, allocations: 480.6 kB / 0.8866 GB, free: 9.863 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.9099, allocations: 0 / 0.8866 GB, free: 9.863 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.9099, allocations: 12 kB / 0.8867 GB, free: 9.852 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-06/0.9099, allocations: 4 kB / 0.8867 GB, free: 9.848 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.9111, allocations: 0.6172 MB / 0.8873 GB, free: 9.23 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.9124, allocations: 0.8579 MB / 0.8881 GB, free: 8.293 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008085/0.9132, allocations: 230.4 kB / 0.8883 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.9133, allocations: 72.52 kB / 0.8884 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1265/1.04, allocations: 23.3 MB / 0.9111 GB, free: 0.6484 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/1.04, allocations: 42.56 kB / 0.9112 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of pre-optimization done (n=25): time 1.883e-06/1.04, allocations: 0 / 0.9112 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of matching and sorting (n=25): time 0.001787/1.042, allocations: 419.6 kB / 0.9116 GB, free: 188 kB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/1.042, allocations: 55.41 kB / 0.9116 GB, free: 120 kB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/1.042, allocations: 135.9 kB / 0.9118 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.202e-05/1.042, allocations: 29.7 kB / 0.9118 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/1.042, allocations: 112.4 kB / 0.9119 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 9.047e-05/1.042, allocations: 91.2 kB / 0.912 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/1.042, allocations: 77.67 kB / 0.9121 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001974/1.043, allocations: 338.7 kB / 0.9124 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/1.043, allocations: 79.89 kB / 0.9125 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/1.043, allocations: 129.1 kB / 0.9126 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/1.043, allocations: 222.7 kB / 0.9128 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/1.043, allocations: 4 kB / 0.9128 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007839/1.044, allocations: 297.3 kB / 0.9131 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/1.044, allocations: 7.938 kB / 0.9131 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/1.044, allocations: 4.156 kB / 0.9131 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/1.044, allocations: 4 kB / 0.9131 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003563/1.045, allocations: 79.88 kB / 0.9132 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/1.045, allocations: 4 kB / 0.9132 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/1.045, allocations: 23.78 kB / 0.9132 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.373e-05/1.045, allocations: 27.97 kB / 0.9132 GB, free: 14.41 MB / 0.6856 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.0002141/1.045, allocations: 133.7 kB / 0.9134 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/1.045, allocations: 15.91 kB / 0.9134 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003197/1.048, allocations: 2.487 MB / 0.9158 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.363e-05/1.048, allocations: 15.98 kB / 0.9158 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/1.048, allocations: 0 / 0.9158 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/1.048, allocations: 7.922 kB / 0.9158 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004068/1.053, allocations: 3.594 MB / 0.9193 GB, free: 8.031 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/1.053, allocations: 0 / 0.9193 GB, free: 8.031 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002795/1.053, allocations: 59.94 kB / 0.9194 GB, free: 7.973 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/1.053, allocations: 0 / 0.9194 GB, free: 7.973 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/1.053, allocations: 11.94 kB / 0.9194 GB, free: 7.961 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/1.053, allocations: 0 / 0.9194 GB, free: 7.961 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/1.053, allocations: 4 kB / 0.9194 GB, free: 7.957 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008793/1.054, allocations: 0.5619 MB / 0.92 GB, free: 7.383 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/1.054, allocations: 59.64 kB / 0.92 GB, free: 7.324 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.088e-05/1.054, allocations: 11.92 kB / 0.92 GB, free: 7.312 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/1.054, allocations: 12 kB / 0.92 GB, free: 7.301 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/1.054, allocations: 15.97 kB / 0.92 GB, free: 7.285 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-05/1.054, allocations: 19.98 kB / 0.9201 GB, free: 7.266 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001091/1.054, allocations: 109.7 kB / 0.9202 GB, free: 7.16 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/1.054, allocations: 3.938 kB / 0.9202 GB, free: 7.156 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004886/1.059, allocations: 1.656 MB / 0.9218 GB, free: 5.496 MB / 0.6856 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.009974/1.069, allocations: 2.908 MB / 0.9246 GB, free: 2.562 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0008163/1.07, allocations: 312.3 kB / 0.9249 GB, free: 2.258 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.768e-06/1.07, allocations: 0 / 0.9249 GB, free: 2.258 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003059/1.07, allocations: 196.8 kB / 0.9251 GB, free: 2.062 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005632/1.071, allocations: 73.33 kB / 0.9252 GB, free: 1.992 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006305/1.077, allocations: 3.111 MB / 0.9282 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/1.078, allocations: 0.766 MB / 0.929 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.000635/1.078, allocations: 409.2 kB / 0.9294 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/1.078, allocations: 91.39 kB / 0.9295 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of SimCode: time 6.61e-07/1.078, allocations: 3.938 kB / 0.9295 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1254/1.204, allocations: 61.41 MB / 0.9894 GB, free: 152 kB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.53/16.74, allocations: 21.67 kB / 0.9895 GB, free: 140 kB / 0.7481 GB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Media_Examples_SteamProperties.fmu > IDEAS_IDEAS.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.741211247004685] Failed to read output from testmodel.py, exit status != 0: 16.888645407001604 16.91200903 16.004598539 Calling exit ...