Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.001333/0.001333, 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.001512/0.001512, allocations: 165 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.504/1.504, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.223/1.223, allocations: 154.6 MB / 413.7 MB, free: 5.305 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.6185 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.351e-05/3.544e-05, allocations: 5.562 kB / 0.6185 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.00263/0.002666, allocations: 1.272 MB / 0.6197 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003516/0.006182, allocations: 2.39 MB / 0.6221 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.704e-05/0.006219, allocations: 0 / 0.6221 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.591e-05/0.006235, allocations: 0 / 0.6221 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.922e-05/0.006314, allocations: 11.86 kB / 0.6221 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006596/0.006974, allocations: 127.3 kB / 0.6222 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.737e-05/0.007061, allocations: 39.86 kB / 0.6222 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.725e-05/0.007109, allocations: 11.97 kB / 0.6222 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.11e-05/0.00718, allocations: 23.92 kB / 0.6223 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.545e-05/0.007255, allocations: 11.97 kB / 0.6223 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.007273, allocations: 4 kB / 0.6223 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002832/0.007556, allocations: 107.7 kB / 0.6224 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.007573, allocations: 4 kB / 0.6224 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.007607, allocations: 15.97 kB / 0.6224 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.007839, allocations: 83.72 kB / 0.6225 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.007843, allocations: 0 / 0.6225 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.372e-06/0.007844, allocations: 0 / 0.6225 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.00785, allocations: 4 kB / 0.6225 GB, free: 0.582 MB / 0.5294 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.0005023/0.008352, allocations: 278.2 kB / 0.6228 GB, free: 288 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.008406, allocations: 9.469 kB / 0.6228 GB, free: 280 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000233/0.008639, allocations: 16.88 kB / 0.6228 GB, free: 264 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.008751, allocations: 109.8 kB / 0.6229 GB, free: 128 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.008768, allocations: 4.359 kB / 0.6229 GB, free: 124 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.008798, allocations: 12.33 kB / 0.6229 GB, free: 112 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.009038, allocations: 145.9 kB / 0.623 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.00905, allocations: 192 / 0.623 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.009069, allocations: 16.11 kB / 0.6231 GB, free: 15.92 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.009074, allocations: 0 / 0.6231 GB, free: 15.92 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.044e-05/0.009124, allocations: 11.94 kB / 0.6231 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006412/0.009766, allocations: 377 kB / 0.6234 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.009936, allocations: 75.72 kB / 0.6235 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.875e-05/0.009975, allocations: 22.58 kB / 0.6235 GB, free: 15.37 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.009993, allocations: 4.031 kB / 0.6235 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/0.01003, allocations: 46.48 kB / 0.6236 GB, free: 15.31 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.01003, allocations: 0 / 0.6236 GB, free: 15.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0006681/0.0107, allocations: 229.3 kB / 0.6238 GB, free: 15.05 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.603e-05/0.01078, allocations: 106.8 kB / 0.6239 GB, free: 14.92 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.01088, allocations: 101.8 kB / 0.624 GB, free: 14.81 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.0109, allocations: 25.7 kB / 0.624 GB, free: 14.78 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.063e-05/0.01096, allocations: 88.09 kB / 0.6241 GB, free: 14.69 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.011, allocations: 31.73 kB / 0.6241 GB, free: 14.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.01104, allocations: 21.72 kB / 0.6241 GB, free: 14.63 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.0112, allocations: 322.8 kB / 0.6245 GB, free: 14.31 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.967e-05/0.01123, allocations: 12.25 kB / 0.6245 GB, free: 14.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.262e-05/0.01129, allocations: 53.14 kB / 0.6245 GB, free: 14.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.0114, allocations: 73.02 kB / 0.6246 GB, free: 14.14 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.0114, allocations: 4 kB / 0.6246 GB, free: 14.13 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001475/0.01155, allocations: 101.4 kB / 0.6247 GB, free: 14.03 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.01156, allocations: 4 kB / 0.6247 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.01157, allocations: 8.125 kB / 0.6247 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.01159, allocations: 0 / 0.6247 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.686e-05/0.01166, allocations: 16 kB / 0.6247 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.01167, allocations: 4 kB / 0.6247 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.439e-05/0.01171, allocations: 0 / 0.6247 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.01172, allocations: 11.98 kB / 0.6247 GB, free: 13.98 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.0001012/0.01182, allocations: 118.8 kB / 0.6248 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.047e-05/0.01188, allocations: 7.938 kB / 0.6248 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.294e-05/0.01191, allocations: 7.812 kB / 0.6249 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01192, allocations: 4 kB / 0.6249 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.01192, allocations: 4 kB / 0.6249 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.01193, allocations: 3.938 kB / 0.6249 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/0.01222, allocations: 129.3 kB / 0.625 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.01223, allocations: 7.938 kB / 0.625 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.565e-05/0.01231, allocations: 19.92 kB / 0.625 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.01231, allocations: 0 / 0.625 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.01233, allocations: 4 kB / 0.625 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.01233, allocations: 0 / 0.625 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.01233, allocations: 3.938 kB / 0.625 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.01261, allocations: 318.1 kB / 0.6253 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.083e-05/0.01265, allocations: 19.92 kB / 0.6253 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.01267, allocations: 8 kB / 0.6254 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.01283, allocations: 432 / 0.6254 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-05/0.01286, allocations: 7.984 kB / 0.6254 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.01287, allocations: 8 kB / 0.6254 GB, free: 13.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.255e-05/0.01292, allocations: 79.27 kB / 0.6254 GB, free: 13.19 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01292, allocations: 0 / 0.6254 GB, free: 13.19 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003089/0.01323, allocations: 15.94 kB / 0.6255 GB, free: 13.18 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0001649/0.01339, allocations: 110.6 kB / 0.6256 GB, free: 13.06 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001353/0.01353, allocations: 39.92 kB / 0.6256 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.01353, allocations: 4 kB / 0.6256 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.695e-05/0.01356, allocations: 15.92 kB / 0.6256 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/0.01404, allocations: 15.88 kB / 0.6256 GB, free: 12.98 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005935/0.01463, allocations: 255.3 kB / 0.6259 GB, free: 12.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.199e-05/0.01472, allocations: 71.34 kB / 0.626 GB, free: 12.61 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.03e-05/0.01477, allocations: 15.97 kB / 0.626 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.216e-05/0.0148, allocations: 12.5 kB / 0.626 GB, free: 12.59 MB / 0.545 GB Notification: Performance of SimCode: time 6.81e-07/0.0148, allocations: 0 / 0.626 GB, free: 12.59 MB / 0.545 GB Notification: Performance of Templates: time 0.003397/0.0182, allocations: 0.6451 MB / 0.6266 GB, free: 11.99 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.100110288709402] Failed to read output from testmodel.py, exit status != 0: 0.02744511514902115 0.043627589 0.032359815 Calling exit ...