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.001227/0.001227, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.001386/0.001386, allocations: 217 kB / 23.04 MB, free: 5.074 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.8408/0.8408, allocations: 134 MB / 447.2 MB, free: 10.21 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamProperties",fmuType="cs",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.002062/0.002062, allocations: 63.59 kB / 0.6193 GB, free: 7.164 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1734, allocations: 85.9 MB / 0.7032 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.5755/0.749, allocations: 139.4 MB / 0.8394 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02968/0.7787, allocations: 22.52 MB / 0.8614 GB, free: 4.496 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001842/0.7789, allocations: 4 kB / 0.8614 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0003169/0.7792, allocations: 47.67 kB / 0.8614 GB, free: 4.445 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.000327/0.7795, allocations: 95.42 kB / 0.8615 GB, free: 4.352 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.01902/0.7985, allocations: 6.724 MB / 0.8681 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0005002/0.799, allocations: 255.9 kB / 0.8683 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 6.27e-05/0.7991, allocations: 9.734 kB / 0.8683 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004131/0.7995, allocations: 139.5 kB / 0.8685 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002316/0.7997, allocations: 95.59 kB / 0.8686 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.7998, allocations: 8 kB / 0.8686 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02417/0.8239, allocations: 11.01 MB / 0.8793 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.824, allocations: 47.83 kB / 0.8794 GB, free: 2.082 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.8242, allocations: 79.66 kB / 0.8795 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01673/0.8409, allocations: 6.186 MB / 0.8855 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.8409, allocations: 0 / 0.8855 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.204e-06/0.8409, allocations: 3.938 kB / 0.8855 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.8409, allocations: 0 / 0.8855 GB, free: 11.8 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.004083/0.845, allocations: 1.159 MB / 0.8866 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.8451, allocations: 8.031 kB / 0.8866 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.248e-05/0.8451, allocations: 8.188 kB / 0.8866 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.082e-05/0.8452, allocations: 54.73 kB / 0.8867 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.8463, allocations: 80.77 kB / 0.8868 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.8466, allocations: 175.1 kB / 0.8869 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.8466, allocations: 15.94 kB / 0.887 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.8467, allocations: 19.94 kB / 0.887 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.8479, allocations: 480.3 kB / 0.8874 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.8479, allocations: 0 / 0.8874 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.875e-05/0.8479, allocations: 8 kB / 0.8874 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.8479, allocations: 4 kB / 0.8874 GB, free: 9.719 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/0.8492, allocations: 0.6211 MB / 0.888 GB, free: 9.098 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.8504, allocations: 0.8541 MB / 0.8889 GB, free: 8.164 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008228/0.8513, allocations: 238.4 kB / 0.8891 GB, free: 7.922 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.8514, allocations: 57.28 kB / 0.8892 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08817/0.9396, allocations: 23.29 MB / 0.9119 GB, free: 0.5273 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.132e-05/0.9396, allocations: 42.19 kB / 0.912 GB, free: 492 kB / 0.67 GB Notification: Performance of pre-optimization done (n=25): time 2.204e-06/0.9396, allocations: 0 / 0.912 GB, free: 492 kB / 0.67 GB Notification: Performance of matching and sorting (n=25): time 0.001869/0.9415, allocations: 427.5 kB / 0.9124 GB, free: 60 kB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.66e-05/0.9415, allocations: 59.33 kB / 0.9124 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.9417, allocations: 137.8 kB / 0.9125 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.685e-05/0.9417, allocations: 33.7 kB / 0.9126 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 9.184e-05/0.9418, allocations: 112.4 kB / 0.9127 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 9.331e-05/0.9419, allocations: 91.22 kB / 0.9128 GB, free: 15.6 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/0.9421, allocations: 73.66 kB / 0.9128 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.9423, allocations: 326.8 kB / 0.9132 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.9424, allocations: 83.95 kB / 0.9132 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000255/0.9427, allocations: 129.1 kB / 0.9134 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000462/0.9432, allocations: 226.6 kB / 0.9136 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.9432, allocations: 0 / 0.9136 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007576/0.9439, allocations: 297.3 kB / 0.9139 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.9439, allocations: 8 kB / 0.9139 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.9439, allocations: 0 / 0.9139 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.944, allocations: 4 kB / 0.9139 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003144/0.9443, allocations: 79.88 kB / 0.9139 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.9443, allocations: 8.156 kB / 0.914 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.9445, allocations: 23.78 kB / 0.914 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.216e-05/0.9445, allocations: 27.98 kB / 0.914 GB, free: 14.29 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.0002102/0.9447, allocations: 133.6 kB / 0.9141 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/0.9449, allocations: 19.91 kB / 0.9141 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002844/0.9477, allocations: 2.479 MB / 0.9166 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/0.9478, allocations: 11.98 kB / 0.9166 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.9478, allocations: 0 / 0.9166 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.9478, allocations: 7.938 kB / 0.9166 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003788/0.9516, allocations: 3.598 MB / 0.9201 GB, free: 7.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.9516, allocations: 0 / 0.9201 GB, free: 7.91 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002761/0.9518, allocations: 55.89 kB / 0.9202 GB, free: 7.855 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.9518, allocations: 7.938 kB / 0.9202 GB, free: 7.848 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/0.9519, allocations: 11.98 kB / 0.9202 GB, free: 7.836 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.9519, allocations: 0 / 0.9202 GB, free: 7.836 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.9519, allocations: 0 / 0.9202 GB, free: 7.836 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000906/0.9528, allocations: 0.5584 MB / 0.9207 GB, free: 7.262 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.9529, allocations: 63.62 kB / 0.9208 GB, free: 7.199 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.9529, allocations: 7.938 kB / 0.9208 GB, free: 7.191 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.9532, allocations: 15.92 kB / 0.9208 GB, free: 7.176 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.9532, allocations: 20.59 kB / 0.9208 GB, free: 7.156 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/0.9533, allocations: 15.94 kB / 0.9208 GB, free: 7.141 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 9.974e-05/0.9534, allocations: 113.3 kB / 0.9209 GB, free: 7.031 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.9534, allocations: 0 / 0.9209 GB, free: 7.031 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.005543/0.9589, allocations: 1.656 MB / 0.9226 GB, free: 5.371 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.01171/0.9706, allocations: 2.916 MB / 0.9254 GB, free: 2.43 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0008696/0.9715, allocations: 316.4 kB / 0.9257 GB, free: 2.121 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/0.9715, allocations: 0 / 0.9257 GB, free: 2.121 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003771/0.9719, allocations: 192.5 kB / 0.9259 GB, free: 1.93 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006757/0.9725, allocations: 72.17 kB / 0.926 GB, free: 1.859 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007218/0.9798, allocations: 3.107 MB / 0.929 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.9802, allocations: 0.766 MB / 0.9297 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0006208/0.9808, allocations: 405.2 kB / 0.9301 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/0.9811, allocations: 103.4 kB / 0.9302 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of SimCode: time 1.222e-06/0.9811, allocations: 0 / 0.9302 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1228/1.104, allocations: 61.44 MB / 0.9902 GB, free: 4 kB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.31/16.41, allocations: 2.531 kB / 0.9902 GB, free: 4 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 & /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: 20.424271740950644] Failed to read output from testmodel.py, exit status != 0: 16.62004803493619 16.636903584 15.792548216 Calling exit ...