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.0007861/0.0007861, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000752/0.000752, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8274/0.8274, allocations: 177.1 MB / 203.5 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.6727/0.6727, allocations: 154.6 MB / 414.5 MB, free: 0.8242 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: translateModel(IDEAS.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck") translateModel(IDEAS.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.655e-05, allocations: 4.531 kB / 0.6193 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.001601/0.001627, allocations: 1.274 MB / 0.6205 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.3536/0.3553, allocations: 120.9 MB / 0.7386 GB, free: 25.06 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.3553, allocations: 0 / 0.7386 GB, free: 25.06 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.413e-05/0.3553, allocations: 1.312 kB / 0.7386 GB, free: 25.06 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.492e-05/0.3554, allocations: 3.469 kB / 0.7386 GB, free: 25.06 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.3565, allocations: 464.8 kB / 0.7391 GB, free: 24.91 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.717e-05/0.3566, allocations: 48.83 kB / 0.7391 GB, free: 24.88 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 3.549e-05/0.3567, allocations: 2.938 kB / 0.7391 GB, free: 24.88 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 5.996e-05/0.3567, allocations: 28.41 kB / 0.7392 GB, free: 24.88 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.243e-05/0.3568, allocations: 14.98 kB / 0.7392 GB, free: 24.87 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.3568, allocations: 2.812 kB / 0.7392 GB, free: 24.87 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.3581, allocations: 0.7976 MB / 0.74 GB, free: 24.7 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.235e-05/0.3582, allocations: 12.61 kB / 0.74 GB, free: 24.7 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.04e-05/0.3582, allocations: 12.34 kB / 0.74 GB, free: 24.7 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0007603/0.359, allocations: 0.5665 MB / 0.7405 GB, free: 24.54 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.359, allocations: 0.7969 kB / 0.7405 GB, free: 24.54 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.503e-06/0.359, allocations: 0 / 0.7405 GB, free: 24.54 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.359, allocations: 1.219 kB / 0.7405 GB, free: 24.54 MB / 0.6355 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.0004447/0.3594, allocations: 296.1 kB / 0.7408 GB, free: 24.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.3594, allocations: 9.891 kB / 0.7408 GB, free: 24.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.3596, allocations: 11.12 kB / 0.7408 GB, free: 24.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.831e-05/0.3596, allocations: 107.1 kB / 0.7409 GB, free: 24.13 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.3597, allocations: 14.48 kB / 0.741 GB, free: 24.12 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.3597, allocations: 4.297 kB / 0.741 GB, free: 24.12 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.3598, allocations: 131.9 kB / 0.7411 GB, free: 23.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3598, allocations: 1.062 kB / 0.7411 GB, free: 23.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.3598, allocations: 5.797 kB / 0.7411 GB, free: 23.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3598, allocations: 0 / 0.7411 GB, free: 23.98 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.053e-05/0.3599, allocations: 18.53 kB / 0.7411 GB, free: 23.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001003/0.36, allocations: 114.9 kB / 0.7412 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.528e-05/0.3601, allocations: 51.25 kB / 0.7413 GB, free: 23.81 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.506e-05/0.3601, allocations: 17.05 kB / 0.7413 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005867/0.366, allocations: 2.869 MB / 0.7441 GB, free: 23.49 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.366, allocations: 33.75 kB / 0.7441 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.366, allocations: 2.438 kB / 0.7441 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.02503/0.391, allocations: 14.93 MB / 0.7587 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.3911, allocations: 53.81 kB / 0.7587 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.977e-05/0.3911, allocations: 91.83 kB / 0.7588 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.497e-06/0.3911, allocations: 26.98 kB / 0.7589 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.778e-06/0.3911, allocations: 84.84 kB / 0.7589 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.3911, allocations: 38.67 kB / 0.759 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.3912, allocations: 31.53 kB / 0.759 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.41e-05/0.3912, allocations: 317.7 kB / 0.7593 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.325e-05/0.3913, allocations: 24.73 kB / 0.7593 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.054e-05/0.3913, allocations: 27.92 kB / 0.7594 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.232e-05/0.3914, allocations: 61.73 kB / 0.7594 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3914, allocations: 0 / 0.7594 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001426/0.3915, allocations: 105 kB / 0.7595 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.3915, allocations: 9.188 kB / 0.7595 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3915, allocations: 1.188 kB / 0.7595 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3916, allocations: 0.6562 kB / 0.7595 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.944e-05/0.3916, allocations: 34.52 kB / 0.7596 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.3917, allocations: 1.656 kB / 0.7596 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.691e-05/0.3917, allocations: 0.75 kB / 0.7596 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.3917, allocations: 9.156 kB / 0.7596 GB, free: 20.76 MB / 0.6355 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 4.978e-05/0.3917, allocations: 113 kB / 0.7597 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.3918, allocations: 9.203 kB / 0.7597 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001768/0.3919, allocations: 124.4 kB / 0.7598 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.3919, allocations: 0.7188 kB / 0.7598 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3919, allocations: 1.562 kB / 0.7598 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.3919, allocations: 5.312 kB / 0.7598 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.678e-05/0.392, allocations: 121 kB / 0.7599 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.392, allocations: 3.984 kB / 0.7599 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.715e-05/0.3921, allocations: 26.75 kB / 0.76 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3921, allocations: 1.281 kB / 0.76 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.3921, allocations: 6.281 kB / 0.76 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3921, allocations: 1.719 kB / 0.76 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.3921, allocations: 0.75 kB / 0.76 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.3923, allocations: 160.1 kB / 0.7601 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.017e-05/0.3923, allocations: 12.81 kB / 0.7601 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.3924, allocations: 8.641 kB / 0.7601 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-05/0.3924, allocations: 16.31 kB / 0.7602 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.832e-05/0.3925, allocations: 10.94 kB / 0.7602 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.3925, allocations: 5.672 kB / 0.7602 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.238e-05/0.3925, allocations: 77 kB / 0.7603 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.3925, allocations: 3.938 kB / 0.7603 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002309/0.3948, allocations: 0.5668 MB / 0.7608 GB, free: 20.18 MB / 0.6355 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.002256/0.397, allocations: 383.4 kB / 0.7612 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001664/0.3972, allocations: 71.84 kB / 0.7612 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3972, allocations: 1.125 kB / 0.7612 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.758e-05/0.3972, allocations: 35.98 kB / 0.7613 GB, free: 20 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.3974, allocations: 8.562 kB / 0.7613 GB, free: 20 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003983/0.3978, allocations: 300.3 kB / 0.7616 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.448e-05/0.3978, allocations: 69.83 kB / 0.7616 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.913e-05/0.3978, allocations: 20.81 kB / 0.7617 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of SimCode: time 7.61e-07/0.3978, allocations: 0 / 0.7617 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of Templates: time 0.01786/0.4157, allocations: 14.45 MB / 0.7758 GB, free: 15.52 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.688668416813016] Failed to read output from testmodel.py, exit status != 0: 0.4207902252674103 0.42684479599999997 0.06657613200000001 Calling exit ...