Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 103.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002249/0.002249, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 225.6 MB / 247.8 MB, free: 3.719 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.12/1.12, allocations: 175.8 MB / 478.4 MB, free: 3.738 MB / 366.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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 67.48 kB / 0.6652 GB, free: 11.17 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2094, allocations: 94.55 MB / 0.7575 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002781/0.2122, allocations: 1.259 MB / 0.7587 GB, free: 336 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.6652/0.8773, allocations: 138.1 MB / 0.8936 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.92e-05/0.8774, allocations: 1.969 kB / 0.8936 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.198e-05/0.8774, allocations: 3.5 kB / 0.8936 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.747e-05/0.8775, allocations: 3.938 kB / 0.8936 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.8792, allocations: 465.3 kB / 0.894 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.8793, allocations: 40.19 kB / 0.8941 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.635e-05/0.8793, allocations: 1.188 kB / 0.8941 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.824e-05/0.8794, allocations: 26 kB / 0.8941 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.399e-05/0.8795, allocations: 17.75 kB / 0.8941 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.8795, allocations: 8.969 kB / 0.8941 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001661/0.8811, allocations: 0.8307 MB / 0.8949 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.104e-05/0.8812, allocations: 5.312 kB / 0.8949 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.875e-05/0.8812, allocations: 18.42 kB / 0.8949 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007419/0.882, allocations: 448.5 kB / 0.8954 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.882, allocations: 0 / 0.8954 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.054e-06/0.882, allocations: 5.594 kB / 0.8954 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.882, allocations: 0 / 0.8954 GB, free: 11.92 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.0006876/0.8827, allocations: 372.8 kB / 0.8957 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.8827, allocations: 9.062 kB / 0.8957 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.023e-05/0.8828, allocations: 35.19 kB / 0.8958 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.883, allocations: 13 kB / 0.8958 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.8831, allocations: 173.6 kB / 0.896 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.8831, allocations: 4.5 kB / 0.896 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/0.8832, allocations: 11.19 kB / 0.896 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.8833, allocations: 53.77 kB / 0.896 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.8833, allocations: 1.219 kB / 0.896 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.8834, allocations: 0 / 0.896 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.8834, allocations: 1.219 kB / 0.896 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.213e-05/0.8834, allocations: 21.92 kB / 0.896 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002494/0.8837, allocations: 167.8 kB / 0.8962 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.8838, allocations: 51.86 kB / 0.8963 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.34e-05/0.8838, allocations: 18.27 kB / 0.8963 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01151/0.8953, allocations: 3.21 MB / 0.8994 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.435e-05/0.8954, allocations: 31.94 kB / 0.8994 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.796e-06/0.8954, allocations: 0 / 0.8994 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.04001/0.9354, allocations: 15 MB / 0.9141 GB, free: 5.395 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/0.9355, allocations: 51.41 kB / 0.9141 GB, free: 5.332 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.529e-05/0.9356, allocations: 92.58 kB / 0.9142 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.9356, allocations: 29.02 kB / 0.9142 GB, free: 5.203 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.9356, allocations: 88.25 kB / 0.9143 GB, free: 5.113 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/0.9357, allocations: 42.84 kB / 0.9144 GB, free: 5.082 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.474e-05/0.9357, allocations: 33.8 kB / 0.9144 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.9359, allocations: 324.9 kB / 0.9147 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.09e-05/0.9359, allocations: 19.38 kB / 0.9147 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.114e-05/0.936, allocations: 24.11 kB / 0.9148 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.9361, allocations: 72.38 kB / 0.9148 GB, free: 4.719 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.9361, allocations: 0 / 0.9148 GB, free: 4.719 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002095/0.9363, allocations: 107.5 kB / 0.9149 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.9363, allocations: 4.938 kB / 0.9149 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.9363, allocations: 0 / 0.9149 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.9364, allocations: 2.188 kB / 0.9149 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.9365, allocations: 25.64 kB / 0.915 GB, free: 4.672 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.9365, allocations: 0 / 0.915 GB, free: 4.672 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.471e-05/0.9365, allocations: 2.312 kB / 0.915 GB, free: 4.672 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.9365, allocations: 6.156 kB / 0.915 GB, free: 4.672 MB / 0.6544 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 9.68e-05/0.9366, allocations: 121.9 kB / 0.9151 GB, free: 4.551 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.528e-05/0.9367, allocations: 14.72 kB / 0.9151 GB, free: 4.539 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.9369, allocations: 113.5 kB / 0.9152 GB, free: 4.48 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.9369, allocations: 6.844 kB / 0.9152 GB, free: 4.477 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.9369, allocations: 0 / 0.9152 GB, free: 4.477 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.9369, allocations: 0 / 0.9152 GB, free: 4.477 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.9371, allocations: 183.6 kB / 0.9154 GB, free: 4.273 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.9371, allocations: 0 / 0.9154 GB, free: 4.273 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.9372, allocations: 35.17 kB / 0.9154 GB, free: 4.262 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.9372, allocations: 0 / 0.9154 GB, free: 4.262 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.9372, allocations: 2.531 kB / 0.9154 GB, free: 4.262 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.9372, allocations: 0 / 0.9154 GB, free: 4.262 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.9373, allocations: 0 / 0.9154 GB, free: 4.262 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.9375, allocations: 159.5 kB / 0.9156 GB, free: 4.176 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.9377, allocations: 86.48 kB / 0.9157 GB, free: 4.078 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.9377, allocations: 0 / 0.9157 GB, free: 4.078 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.9378, allocations: 21.61 kB / 0.9157 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.776e-05/0.9379, allocations: 2.688 kB / 0.9157 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.9379, allocations: 12.42 kB / 0.9157 GB, free: 4.066 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.272e-05/0.9379, allocations: 79.22 kB / 0.9158 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/0.9379, allocations: 0 / 0.9158 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002137/0.9401, allocations: 0.5668 MB / 0.9163 GB, free: 3.961 MB / 0.6544 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.003779/0.9438, allocations: 0.9433 MB / 0.9172 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002732/0.9441, allocations: 67.38 kB / 0.9173 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.9441, allocations: 0 / 0.9173 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.711e-05/0.9442, allocations: 34.67 kB / 0.9173 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.9444, allocations: 7.188 kB / 0.9173 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/0.947, allocations: 1.534 MB / 0.9188 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.9474, allocations: 0.6923 MB / 0.9195 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.475e-05/0.9475, allocations: 20.55 kB / 0.9195 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.336e-05/0.9475, allocations: 34.23 kB / 0.9196 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of SimCode: time 9.51e-07/0.9475, allocations: 3.938 kB / 0.9196 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06998/1.017, allocations: 25.45 MB / 0.9444 GB, free: 7.523 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.192/10.21, allocations: 5.812 kB / 0.9444 GB, free: 7.52 MB / 0.6856 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-10 IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.930335856042802] Failed to read output from testmodel.py, exit status != 0: 10.287534512579441 10.301778518 9.41684795 Calling exit ...