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.00133/0.00133, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001587/0.001587, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.541/1.541, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.8943/0.8943, allocations: 133.9 MB / 443.5 MB, free: 13.85 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.001931/0.001931, allocations: 67.23 kB / 0.6141 GB, free: 38.21 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.142, allocations: 85.86 MB / 0.698 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.1686/0.3106, allocations: 139.4 MB / 0.8341 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02854/0.3392, allocations: 22.46 MB / 0.856 GB, free: 12.45 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001996/0.3394, allocations: 0 / 0.856 GB, free: 12.45 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0002912/0.3396, allocations: 47.69 kB / 0.8561 GB, free: 12.41 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0003118/0.34, allocations: 95.34 kB / 0.8561 GB, free: 12.31 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01724/0.3572, allocations: 6.708 MB / 0.8627 GB, free: 5.629 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0004902/0.3577, allocations: 251.9 kB / 0.8629 GB, free: 5.383 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 6.395e-05/0.3578, allocations: 9.562 kB / 0.863 GB, free: 5.371 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003557/0.3581, allocations: 151.4 kB / 0.8631 GB, free: 5.223 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.3583, allocations: 87.66 kB / 0.8632 GB, free: 5.137 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.3583, allocations: 16 kB / 0.8632 GB, free: 5.121 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4222/0.7805, allocations: 10.99 MB / 0.8739 GB, free: 7.914 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.7806, allocations: 37.52 kB / 0.874 GB, free: 7.914 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.7808, allocations: 81.73 kB / 0.874 GB, free: 7.914 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0189/0.7996, allocations: 6.185 MB / 0.8801 GB, free: 7.734 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.7997, allocations: 0 / 0.8801 GB, free: 7.734 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7997, allocations: 1.5 kB / 0.8801 GB, free: 7.734 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.552e-05/0.7997, allocations: 0.9062 kB / 0.8801 GB, free: 7.734 MB / 0.67 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.006396/0.8061, allocations: 1.232 MB / 0.8813 GB, free: 6.938 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.8061, allocations: 10.52 kB / 0.8813 GB, free: 6.938 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.803e-05/0.8061, allocations: 6.25 kB / 0.8813 GB, free: 6.938 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.339e-05/0.8062, allocations: 50.14 kB / 0.8813 GB, free: 6.898 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.8074, allocations: 87.48 kB / 0.8814 GB, free: 6.891 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.8076, allocations: 231.7 kB / 0.8817 GB, free: 6.684 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.8077, allocations: 13.94 kB / 0.8817 GB, free: 6.68 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.8077, allocations: 16.25 kB / 0.8817 GB, free: 6.68 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.8088, allocations: 455.1 kB / 0.8821 GB, free: 6.613 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.8088, allocations: 0.875 kB / 0.8821 GB, free: 6.613 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/0.8088, allocations: 9.188 kB / 0.8821 GB, free: 6.613 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.8088, allocations: 5.375 kB / 0.8821 GB, free: 6.613 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.8099, allocations: 0.5937 MB / 0.8827 GB, free: 6.613 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000884/0.8108, allocations: 0.8814 MB / 0.8836 GB, free: 5.961 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007474/0.8116, allocations: 231 kB / 0.8838 GB, free: 5.938 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.8117, allocations: 67.56 kB / 0.8839 GB, free: 5.93 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09347/0.9051, allocations: 36.53 MB / 0.9195 GB, free: 3.676 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.9052, allocations: 38.97 kB / 0.9196 GB, free: 3.637 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=25): time 2.063e-06/0.9052, allocations: 0 / 0.9196 GB, free: 3.637 MB / 0.6856 GB Notification: Performance of matching and sorting (n=25): time 0.001726/0.9069, allocations: 420.1 kB / 0.92 GB, free: 3.59 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.907, allocations: 53.69 kB / 0.92 GB, free: 3.527 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.9071, allocations: 143.2 kB / 0.9202 GB, free: 3.43 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/0.9071, allocations: 35.83 kB / 0.9202 GB, free: 3.398 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 7.202e-05/0.9072, allocations: 116.4 kB / 0.9203 GB, free: 3.297 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 6.493e-05/0.9073, allocations: 88.5 kB / 0.9204 GB, free: 3.238 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.9074, allocations: 76.97 kB / 0.9205 GB, free: 3.223 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.9076, allocations: 327.3 kB / 0.9208 GB, free: 2.906 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.9077, allocations: 83 kB / 0.9209 GB, free: 2.906 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.9079, allocations: 133 kB / 0.921 GB, free: 2.852 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004031/0.9083, allocations: 224 kB / 0.9212 GB, free: 2.797 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.9084, allocations: 3.375 kB / 0.9212 GB, free: 2.797 MB / 0.6856 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008043/0.9092, allocations: 299.8 kB / 0.9215 GB, free: 18.75 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.9092, allocations: 11.02 kB / 0.9215 GB, free: 18.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.9092, allocations: 0 / 0.9215 GB, free: 18.75 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.9092, allocations: 3.125 kB / 0.9215 GB, free: 18.75 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003003/0.9095, allocations: 78.48 kB / 0.9216 GB, free: 18.75 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.9095, allocations: 5.656 kB / 0.9216 GB, free: 18.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.9097, allocations: 24.86 kB / 0.9216 GB, free: 18.73 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.067e-05/0.9097, allocations: 27.75 kB / 0.9216 GB, free: 18.73 MB / 0.7012 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.0001773/0.9099, allocations: 132.9 kB / 0.9218 GB, free: 18.62 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/0.9101, allocations: 16.84 kB / 0.9218 GB, free: 18.61 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002283/0.9124, allocations: 2.335 MB / 0.924 GB, free: 18.48 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/0.9124, allocations: 15.34 kB / 0.9241 GB, free: 18.48 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.9124, allocations: 1.203 kB / 0.9241 GB, free: 18.48 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.9124, allocations: 8.953 kB / 0.9241 GB, free: 18.48 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002957/0.9154, allocations: 3.427 MB / 0.9274 GB, free: 17.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.9154, allocations: 0 / 0.9274 GB, free: 17.68 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/0.9156, allocations: 63.56 kB / 0.9275 GB, free: 17.66 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.9156, allocations: 2.25 kB / 0.9275 GB, free: 17.66 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.9157, allocations: 10.62 kB / 0.9275 GB, free: 17.66 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.9157, allocations: 5.547 kB / 0.9275 GB, free: 17.66 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.9157, allocations: 0 / 0.9275 GB, free: 17.66 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007182/0.9164, allocations: 0.5479 MB / 0.928 GB, free: 17.46 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.9165, allocations: 136.2 kB / 0.9282 GB, free: 17.33 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/0.9166, allocations: 14.98 kB / 0.9282 GB, free: 17.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.9168, allocations: 14.27 kB / 0.9282 GB, free: 17.32 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.9168, allocations: 23.22 kB / 0.9282 GB, free: 17.31 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.609e-05/0.9168, allocations: 11.31 kB / 0.9282 GB, free: 17.31 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 8.246e-05/0.9169, allocations: 107.1 kB / 0.9283 GB, free: 17.23 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7e-08/0.9169, allocations: 0 / 0.9283 GB, free: 17.23 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.007162/0.9241, allocations: 1.653 MB / 0.9299 GB, free: 16.96 MB / 0.7012 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.0127/0.9368, allocations: 2.92 MB / 0.9328 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0006795/0.9375, allocations: 318.1 kB / 0.9331 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.9375, allocations: 0 / 0.9331 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002372/0.9377, allocations: 190.3 kB / 0.9333 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006127/0.9383, allocations: 62.62 kB / 0.9333 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009007/0.9473, allocations: 3.074 MB / 0.9363 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.9477, allocations: 0.7691 MB / 0.9371 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0005977/0.9483, allocations: 400.1 kB / 0.9375 GB, free: 12.51 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/0.9485, allocations: 96.98 kB / 0.9376 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of SimCode: time 1.192e-06/0.9485, allocations: 0 / 0.9376 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1078/1.056, allocations: 60.95 MB / 0.9971 GB, free: 15.65 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.78, allocations: 6.594 kB / 0.9971 GB, free: 15.64 MB / 0.7637 GB " [Timeout remaining time 646] (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: 17.92932892596582] Failed to read output from testmodel.py, exit status != 0: 14.222666048968676 13.98709296 13.182992341 Calling exit ...