Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.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.001323/0.001323, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.001545/0.001545, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.466/1.466, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.8824/0.8824, allocations: 133.9 MB / 443.5 MB, free: 13.68 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.SteamDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck",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.002/0.002, allocations: 65.22 kB / 0.6141 GB, free: 38.46 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1465, allocations: 85.86 MB / 0.6979 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002464/0.1489, allocations: 1.274 MB / 0.6992 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.1762/0.3252, allocations: 141 MB / 0.8368 GB, free: 192 kB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.905e-05/0.3253, allocations: 0 / 0.8368 GB, free: 192 kB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.63e-05/0.3253, allocations: 3.984 kB / 0.8369 GB, free: 188 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 4.862e-05/0.3253, allocations: 3.938 kB / 0.8369 GB, free: 184 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.3268, allocations: 474.3 kB / 0.8373 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.25e-05/0.3269, allocations: 39.84 kB / 0.8373 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.014e-05/0.3269, allocations: 8 kB / 0.8374 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.835e-05/0.327, allocations: 19.97 kB / 0.8374 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.314e-05/0.3271, allocations: 23.91 kB / 0.8374 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.3271, allocations: 0 / 0.8374 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001623/0.3287, allocations: 0.8348 MB / 0.8382 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.916e-05/0.3287, allocations: 8 kB / 0.8382 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.293e-05/0.3287, allocations: 23.91 kB / 0.8382 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006955/0.3294, allocations: 449 kB / 0.8387 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3294, allocations: 0 / 0.8387 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3294, allocations: 0 / 0.8387 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.3295, allocations: 8 kB / 0.8387 GB, free: 14.31 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006952/0.3302, allocations: 371.2 kB / 0.839 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.3302, allocations: 13.7 kB / 0.839 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.202e-05/0.3302, allocations: 192 / 0.839 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.567e-05/0.3303, allocations: 34.73 kB / 0.8391 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/0.3304, allocations: 12.94 kB / 0.8391 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.3306, allocations: 164.3 kB / 0.8392 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.3306, allocations: 12.12 kB / 0.8393 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.3306, allocations: 15.89 kB / 0.8393 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.3308, allocations: 49.67 kB / 0.8393 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.3308, allocations: 0 / 0.8393 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.3308, allocations: 0 / 0.8393 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.3308, allocations: 4 kB / 0.8393 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.125e-05/0.3309, allocations: 19.97 kB / 0.8393 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002311/0.3311, allocations: 165.7 kB / 0.8395 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.3312, allocations: 58.44 kB / 0.8396 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.268e-05/0.3313, allocations: 16.84 kB / 0.8396 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01192/0.3432, allocations: 3.201 MB / 0.8427 GB, free: 9.938 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.429e-05/0.3432, allocations: 34.56 kB / 0.8427 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.765e-06/0.3432, allocations: 0 / 0.8427 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.04422/0.3875, allocations: 15 MB / 0.8574 GB, free: 10.75 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.3875, allocations: 51.41 kB / 0.8574 GB, free: 10.68 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.3876, allocations: 93.86 kB / 0.8575 GB, free: 10.58 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.3876, allocations: 29.7 kB / 0.8576 GB, free: 10.55 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.3877, allocations: 84.08 kB / 0.8576 GB, free: 10.46 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.946e-05/0.3877, allocations: 39.64 kB / 0.8577 GB, free: 10.42 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.04e-05/0.3878, allocations: 41.83 kB / 0.8577 GB, free: 10.38 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3879, allocations: 314.8 kB / 0.858 GB, free: 10.06 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.737e-05/0.388, allocations: 23.98 kB / 0.858 GB, free: 10.04 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.184e-05/0.3881, allocations: 27.98 kB / 0.8581 GB, free: 10.01 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.3882, allocations: 52.86 kB / 0.8581 GB, free: 9.953 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3882, allocations: 0 / 0.8581 GB, free: 9.953 MB / 0.67 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002529/0.3884, allocations: 112 kB / 0.8582 GB, free: 9.84 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.3885, allocations: 5.25 kB / 0.8582 GB, free: 9.836 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3885, allocations: 0 / 0.8582 GB, free: 9.836 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.3885, allocations: 4 kB / 0.8582 GB, free: 9.832 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.3886, allocations: 31.92 kB / 0.8583 GB, free: 9.801 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.3886, allocations: 3.984 kB / 0.8583 GB, free: 9.797 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.887e-05/0.3886, allocations: 4 kB / 0.8583 GB, free: 9.793 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.3887, allocations: 4 kB / 0.8583 GB, free: 9.789 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (14): * Single equations (assignments): 14 * 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.0001001/0.3888, allocations: 118.4 kB / 0.8584 GB, free: 9.664 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.183e-05/0.3888, allocations: 4 kB / 0.8584 GB, free: 9.66 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004137/0.3892, allocations: 137.4 kB / 0.8585 GB, free: 9.512 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3892, allocations: 0 / 0.8585 GB, free: 9.512 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3892, allocations: 0 / 0.8585 GB, free: 9.512 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.3892, allocations: 3.984 kB / 0.8585 GB, free: 9.508 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.3894, allocations: 173.6 kB / 0.8587 GB, free: 9.289 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3894, allocations: 3.984 kB / 0.8587 GB, free: 9.285 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.3896, allocations: 24 kB / 0.8587 GB, free: 9.262 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3896, allocations: 0 / 0.8587 GB, free: 9.262 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.3896, allocations: 11.98 kB / 0.8587 GB, free: 9.25 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3896, allocations: 0 / 0.8587 GB, free: 9.25 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3896, allocations: 0 / 0.8587 GB, free: 9.25 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.3899, allocations: 156.9 kB / 0.8589 GB, free: 9.078 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 8.865e-05/0.39, allocations: 93.08 kB / 0.859 GB, free: 8.969 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.39, allocations: 4 kB / 0.859 GB, free: 8.965 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.3902, allocations: 16 kB / 0.859 GB, free: 8.949 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/0.3902, allocations: 11.98 kB / 0.859 GB, free: 8.938 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.3902, allocations: 4 kB / 0.859 GB, free: 8.934 MB / 0.67 GB Notification: Performance of sorting global known variables: time 4.639e-05/0.3902, allocations: 79.28 kB / 0.8591 GB, free: 8.855 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/0.3902, allocations: 0 / 0.8591 GB, free: 8.855 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001998/0.3922, allocations: 0.5699 MB / 0.8596 GB, free: 8.285 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.004336/0.3966, allocations: 0.9517 MB / 0.8606 GB, free: 7.305 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0002397/0.3968, allocations: 62.81 kB / 0.8606 GB, free: 7.246 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3968, allocations: 0 / 0.8606 GB, free: 7.246 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 6.601e-05/0.3969, allocations: 31.88 kB / 0.8606 GB, free: 7.215 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.3971, allocations: 11.98 kB / 0.8607 GB, free: 7.203 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/0.3997, allocations: 1.549 MB / 0.8622 GB, free: 5.574 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.4001, allocations: 0.6885 MB / 0.8628 GB, free: 4.859 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 8.777e-05/0.4002, allocations: 20.55 kB / 0.8629 GB, free: 4.84 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.4003, allocations: 23.44 kB / 0.8629 GB, free: 4.816 MB / 0.67 GB Notification: Performance of SimCode: time 5.91e-07/0.4003, allocations: 4 kB / 0.8629 GB, free: 4.812 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4019/0.8022, allocations: 25.5 MB / 0.8878 GB, free: 155.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.949/9.751, allocations: 7.109 kB / 0.8878 GB, free: 155.1 MB / 0.67 GB " [Timeout remaining time 650] (rm -f IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-10 IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.00660511397291] Failed to read output from testmodel.py, exit status != 0: 10.1686719339923 9.903788662 9.571155953 Calling exit ...