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.001717/0.001717, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002403/0.002403, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.491/1.491, allocations: 230.6 MB / 256 MB, free: 7.961 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.8737/0.8737, allocations: 134 MB / 446.4 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="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.002009/0.002009, allocations: 71.09 kB / 0.6186 GB, free: 7.152 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1934, allocations: 85.9 MB / 0.7025 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.6464/0.8398, allocations: 139.4 MB / 0.8386 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03126/0.8711, allocations: 22.52 MB / 0.8606 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002123/0.8713, allocations: 3.938 kB / 0.8606 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0003629/0.8717, allocations: 43.73 kB / 0.8607 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0004709/0.8721, allocations: 103.3 kB / 0.8608 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.02298/0.8951, allocations: 6.71 MB / 0.8673 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0005136/0.8956, allocations: 267.8 kB / 0.8676 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 5.381e-05/0.8957, allocations: 5.75 kB / 0.8676 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003565/0.8961, allocations: 147.4 kB / 0.8677 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.8962, allocations: 91.66 kB / 0.8678 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.8963, allocations: 11.94 kB / 0.8678 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02324/0.9195, allocations: 11.02 MB / 0.8786 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.9196, allocations: 31.91 kB / 0.8786 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.9198, allocations: 83.59 kB / 0.8787 GB, free: 1.938 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01639/0.9362, allocations: 6.186 MB / 0.8847 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.9362, allocations: 0 / 0.8847 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9362, allocations: 4 kB / 0.8847 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.9362, allocations: 0 / 0.8847 GB, free: 11.73 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.003436/0.9396, allocations: 1.155 MB / 0.8859 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.9397, allocations: 8.031 kB / 0.8859 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.785e-05/0.9397, allocations: 54.67 kB / 0.8859 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.9408, allocations: 84.77 kB / 0.886 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003691/0.9412, allocations: 174.5 kB / 0.8862 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.9412, allocations: 19.88 kB / 0.8862 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.9412, allocations: 20 kB / 0.8862 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.9424, allocations: 465.3 kB / 0.8866 GB, free: 9.684 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.9425, allocations: 3.938 kB / 0.8866 GB, free: 9.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.303e-05/0.9425, allocations: 12 kB / 0.8867 GB, free: 9.668 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.9425, allocations: 7.984 kB / 0.8867 GB, free: 9.66 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.9438, allocations: 0.6172 MB / 0.8873 GB, free: 9.043 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.945, allocations: 0.8541 MB / 0.8881 GB, free: 8.109 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008107/0.9458, allocations: 234.3 kB / 0.8883 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.9459, allocations: 69.27 kB / 0.8884 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0839/1.03, allocations: 23.29 MB / 0.9111 GB, free: 476 kB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/1.03, allocations: 42.19 kB / 0.9112 GB, free: 428 kB / 0.67 GB Notification: Performance of pre-optimization done (n=25): time 1.573e-06/1.03, allocations: 0 / 0.9112 GB, free: 428 kB / 0.67 GB Notification: Performance of matching and sorting (n=25): time 0.001813/1.032, allocations: 427.6 kB / 0.9116 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/1.032, allocations: 55.34 kB / 0.9116 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/1.032, allocations: 140 kB / 0.9118 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.71e-05/1.032, allocations: 29.7 kB / 0.9118 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 9.399e-05/1.032, allocations: 112.4 kB / 0.9119 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 8.913e-05/1.032, allocations: 95.2 kB / 0.912 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/1.032, allocations: 73.67 kB / 0.9121 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001772/1.032, allocations: 330.8 kB / 0.9124 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/1.033, allocations: 83.94 kB / 0.9125 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/1.033, allocations: 125.1 kB / 0.9126 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004636/1.033, allocations: 222.7 kB / 0.9128 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/1.033, allocations: 0 / 0.9128 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007592/1.034, allocations: 301.4 kB / 0.9131 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/1.034, allocations: 8 kB / 0.9131 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/1.034, allocations: 0 / 0.9131 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/1.034, allocations: 4 kB / 0.9131 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003186/1.034, allocations: 79.88 kB / 0.9132 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/1.034, allocations: 11.92 kB / 0.9132 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/1.035, allocations: 23.78 kB / 0.9132 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.016e-05/1.035, allocations: 27.97 kB / 0.9132 GB, free: 14.22 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.0001669/1.035, allocations: 125.8 kB / 0.9133 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/1.035, allocations: 23.97 kB / 0.9134 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003062/1.038, allocations: 2.483 MB / 0.9158 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/1.038, allocations: 11.98 kB / 0.9158 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/1.038, allocations: 0 / 0.9158 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/1.038, allocations: 3.938 kB / 0.9158 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004426/1.043, allocations: 3.598 MB / 0.9193 GB, free: 7.852 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/1.043, allocations: 3.984 kB / 0.9193 GB, free: 7.848 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000277/1.043, allocations: 59.94 kB / 0.9194 GB, free: 7.789 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/1.043, allocations: 4 kB / 0.9194 GB, free: 7.785 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/1.043, allocations: 11.94 kB / 0.9194 GB, free: 7.773 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/1.043, allocations: 3.938 kB / 0.9194 GB, free: 7.77 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.043, allocations: 0 / 0.9194 GB, free: 7.77 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009274/1.044, allocations: 0.5584 MB / 0.92 GB, free: 7.195 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/1.044, allocations: 55.64 kB / 0.92 GB, free: 7.141 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/1.044, allocations: 15.88 kB / 0.92 GB, free: 7.125 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/1.044, allocations: 11.98 kB / 0.92 GB, free: 7.113 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/1.044, allocations: 23.97 kB / 0.9201 GB, free: 7.09 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-05/1.044, allocations: 17.11 kB / 0.9201 GB, free: 7.074 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0001043/1.044, allocations: 105.7 kB / 0.9202 GB, free: 6.973 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/1.044, allocations: 0 / 0.9202 GB, free: 6.973 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.005633/1.05, allocations: 1.656 MB / 0.9218 GB, free: 5.312 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.01058/1.061, allocations: 2.911 MB / 0.9246 GB, free: 2.375 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0007938/1.061, allocations: 320.5 kB / 0.9249 GB, free: 2.062 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.061, allocations: 0 / 0.9249 GB, free: 2.062 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000366/1.062, allocations: 196.5 kB / 0.9251 GB, free: 1.867 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006375/1.062, allocations: 71.56 kB / 0.9252 GB, free: 1.801 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00673/1.069, allocations: 3.107 MB / 0.9282 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/1.07, allocations: 0.7699 MB / 0.929 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0006125/1.07, allocations: 405.2 kB / 0.9294 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/1.07, allocations: 99.38 kB / 0.9295 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of SimCode: time 9.81e-07/1.07, allocations: 0 / 0.9295 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1278/1.198, allocations: 61.41 MB / 0.9894 GB, free: 15.96 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.68/16.88, allocations: 10.23 kB / 0.9894 GB, free: 15.95 MB / 0.7637 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.72210681787692] Failed to read output from testmodel.py, exit status != 0: 17.036572895012796 17.053721251 16.113925189 Calling exit ...