Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.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.001214/0.001214, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001584/0.001584, allocations: 168.2 kB / 22.46 MB, free: 5.359 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.468/1.468, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 1.216/1.216, allocations: 154.6 MB / 413.8 MB, free: 5.223 MB / 382.1 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 178] 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.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck") translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.6185 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.757e-05/3.976e-05, allocations: 4.531 kB / 0.6185 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002993/0.003033, allocations: 1.272 MB / 0.6198 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004846/0.007879, allocations: 3.082 MB / 0.6228 GB, free: 256 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.833e-05/0.007918, allocations: 0 / 0.6228 GB, free: 256 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.719e-05/0.007945, allocations: 7.938 kB / 0.6228 GB, free: 248 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.146e-05/0.008006, allocations: 0 / 0.6228 GB, free: 248 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007532/0.008759, allocations: 111.4 kB / 0.6229 GB, free: 136 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.008866, allocations: 39.84 kB / 0.6229 GB, free: 96 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.612e-05/0.008912, allocations: 0 / 0.6229 GB, free: 96 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.654e-05/0.008999, allocations: 27.91 kB / 0.623 GB, free: 68 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.492e-05/0.009084, allocations: 15.97 kB / 0.623 GB, free: 52 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.009101, allocations: 3.938 kB / 0.623 GB, free: 48 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003004/0.009401, allocations: 71.81 kB / 0.6231 GB, free: 15.98 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.224e-05/0.009423, allocations: 7.922 kB / 0.6231 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.019e-05/0.009463, allocations: 12 kB / 0.6231 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.009713, allocations: 67.84 kB / 0.6231 GB, free: 15.89 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.009719, allocations: 3.938 kB / 0.6231 GB, free: 15.89 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.142e-06/0.00972, allocations: 0 / 0.6231 GB, free: 15.89 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.009725, allocations: 0 / 0.6231 GB, free: 15.89 MB / 0.545 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.0005211/0.01025, allocations: 274.2 kB / 0.6234 GB, free: 15.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.01029, allocations: 8.031 kB / 0.6234 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.01044, allocations: 8.938 kB / 0.6234 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.01057, allocations: 109.8 kB / 0.6235 GB, free: 15.44 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.01059, allocations: 4.375 kB / 0.6235 GB, free: 15.44 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.58e-05/0.01062, allocations: 12.33 kB / 0.6235 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.01083, allocations: 131.3 kB / 0.6237 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.01084, allocations: 192 / 0.6237 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.01086, allocations: 4.125 kB / 0.6237 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.01086, allocations: 0 / 0.6237 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.097e-05/0.01094, allocations: 27.91 kB / 0.6237 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002027/0.01114, allocations: 105.3 kB / 0.6238 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.01126, allocations: 46.56 kB / 0.6238 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.355e-05/0.01129, allocations: 20.84 kB / 0.6239 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000701/0.01199, allocations: 242 kB / 0.6241 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.01203, allocations: 34.56 kB / 0.6241 GB, free: 14.73 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 3.938e-06/0.01204, allocations: 7.984 kB / 0.6241 GB, free: 14.72 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0006952/0.01273, allocations: 225.2 kB / 0.6243 GB, free: 14.47 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/0.01279, allocations: 51.41 kB / 0.6244 GB, free: 14.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.0129, allocations: 101.8 kB / 0.6245 GB, free: 14.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.01293, allocations: 29.7 kB / 0.6245 GB, free: 14.26 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.01299, allocations: 88.09 kB / 0.6246 GB, free: 14.17 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.01302, allocations: 31.73 kB / 0.6246 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.673e-05/0.01308, allocations: 25.72 kB / 0.6247 GB, free: 14.11 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.01323, allocations: 322.8 kB / 0.625 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.279e-05/0.01326, allocations: 8.438 kB / 0.625 GB, free: 13.78 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.52e-05/0.01334, allocations: 61.08 kB / 0.625 GB, free: 13.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.01344, allocations: 76.95 kB / 0.6251 GB, free: 13.61 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.01344, allocations: 4 kB / 0.6251 GB, free: 13.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001576/0.0136, allocations: 101.5 kB / 0.6252 GB, free: 13.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.01362, allocations: 6.344 kB / 0.6252 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.01363, allocations: 0 / 0.6252 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.01365, allocations: 4 kB / 0.6252 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.954e-05/0.01373, allocations: 20 kB / 0.6252 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.01374, allocations: 4 kB / 0.6252 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.202e-05/0.01378, allocations: 3.984 kB / 0.6252 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.01379, allocations: 4 kB / 0.6252 GB, free: 13.46 MB / 0.545 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 (12): * Single equations (assignments): 12 * 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.0001183/0.01391, allocations: 127.7 kB / 0.6254 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.528e-05/0.01395, allocations: 4 kB / 0.6254 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.94e-05/0.01399, allocations: 8.125 kB / 0.6254 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01399, allocations: 0 / 0.6254 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.014, allocations: 0 / 0.6254 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.014, allocations: 0 / 0.6254 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.01425, allocations: 125.2 kB / 0.6255 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01425, allocations: 0 / 0.6255 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.052e-05/0.01434, allocations: 23.98 kB / 0.6255 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.01435, allocations: 0 / 0.6255 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.01435, allocations: 0 / 0.6255 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.01436, allocations: 4 kB / 0.6255 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.01436, allocations: 0 / 0.6255 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.0146, allocations: 179.4 kB / 0.6257 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.344e-05/0.01462, allocations: 4 kB / 0.6257 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.01464, allocations: 0 / 0.6257 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.01475, allocations: 4.031 kB / 0.6257 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.169e-05/0.01477, allocations: 4.375 kB / 0.6257 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.577e-06/0.01478, allocations: 4 kB / 0.6257 GB, free: 12.92 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.61e-05/0.01483, allocations: 87.25 kB / 0.6258 GB, free: 12.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01483, allocations: 0 / 0.6258 GB, free: 12.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002482/0.01508, allocations: 16 kB / 0.6258 GB, free: 12.82 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,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 (7): * Single equations (assignments): 7 * 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.0001556/0.01524, allocations: 103.2 kB / 0.6259 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001373/0.01537, allocations: 39.92 kB / 0.6259 GB, free: 12.67 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.01538, allocations: 0 / 0.6259 GB, free: 12.67 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.733e-05/0.0154, allocations: 15.92 kB / 0.626 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.01572, allocations: 23.45 kB / 0.626 GB, free: 12.64 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006145/0.01634, allocations: 257.2 kB / 0.6262 GB, free: 12.36 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.703e-05/0.01642, allocations: 67.34 kB / 0.6263 GB, free: 12.28 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.601e-05/0.01646, allocations: 7.984 kB / 0.6263 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.0165, allocations: 12.5 kB / 0.6263 GB, free: 12.26 MB / 0.545 GB Notification: Performance of SimCode: time 4.1e-07/0.0165, allocations: 0 / 0.6263 GB, free: 12.26 MB / 0.545 GB Notification: Performance of Templates: time 0.003913/0.02041, allocations: 0.6222 MB / 0.6269 GB, free: 11.65 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.sim & ./IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.946227304637432] Failed to read output from testmodel.py, exit status != 0: 0.03052166849374771 0.046559970000000006 0.033447555000000004 Calling exit ...