Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007899/0.0007899, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 13.93 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.0008003/0.0008003, allocations: 212.6 kB / 23 MB, free: 2.98 MB / 13.93 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.9186/0.9186, allocations: 230.6 MB / 256.8 MB, free: 9.625 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7487/0.7487, allocations: 203.8 MB / 0.5049 GB, free: 10.47 MB / 410.7 MB " [Timeout remaining time 179] 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.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck") translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck") [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.0009289/0.0009289, allocations: 62.94 kB / 0.7194 GB, free: 3.621 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4757/0.4766, allocations: 102 MB / 0.819 GB, free: 1.352 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.00156/0.4782, allocations: 1.263 MB / 0.8202 GB, free: 480 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002848/0.481, allocations: 3.103 MB / 0.8233 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.096e-05/0.4811, allocations: 0 / 0.8233 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.4811, allocations: 0 / 0.8233 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.268e-05/0.4811, allocations: 3.938 kB / 0.8233 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.4815, allocations: 110.8 kB / 0.8234 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.622e-05/0.4816, allocations: 39.41 kB / 0.8234 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.582e-05/0.4817, allocations: 0.8906 kB / 0.8234 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.787e-05/0.4817, allocations: 21.69 kB / 0.8234 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.927e-05/0.4817, allocations: 17.31 kB / 0.8234 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.107e-06/0.4818, allocations: 2.156 kB / 0.8234 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.4819, allocations: 63.19 kB / 0.8235 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.4819, allocations: 12.73 kB / 0.8235 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.679e-05/0.482, allocations: 15.67 kB / 0.8235 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.4821, allocations: 65.53 kB / 0.8236 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.4821, allocations: 1.281 kB / 0.8236 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4821, allocations: 4.656 kB / 0.8236 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.4821, allocations: 0 / 0.8236 GB, free: 14.17 MB / 0.6198 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.0003241/0.4825, allocations: 273.9 kB / 0.8239 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.4825, allocations: 9.375 kB / 0.8239 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.835e-05/0.4826, allocations: 5.688 kB / 0.8239 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.638e-05/0.4826, allocations: 104.9 kB / 0.824 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.4827, allocations: 7.031 kB / 0.824 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.4827, allocations: 8.281 kB / 0.824 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.4828, allocations: 135.3 kB / 0.8241 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.4828, allocations: 4 kB / 0.8241 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.4828, allocations: 1.406 kB / 0.8241 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.4828, allocations: 1.375 kB / 0.8241 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.766e-05/0.4829, allocations: 22.33 kB / 0.8241 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001151/0.483, allocations: 111.5 kB / 0.8242 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.036e-05/0.4831, allocations: 48.58 kB / 0.8243 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.43e-05/0.4831, allocations: 20.75 kB / 0.8243 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004617/0.4836, allocations: 246.3 kB / 0.8246 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.4836, allocations: 36.19 kB / 0.8246 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.4836, allocations: 0 / 0.8246 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004637/0.4841, allocations: 231.4 kB / 0.8248 GB, free: 13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.4841, allocations: 52.59 kB / 0.8249 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.028e-05/0.4841, allocations: 105.6 kB / 0.825 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.4842, allocations: 26.77 kB / 0.825 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.432e-05/0.4842, allocations: 90.2 kB / 0.8251 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.494e-05/0.4842, allocations: 24.67 kB / 0.8251 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/0.4842, allocations: 27.94 kB / 0.8251 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.263e-05/0.4843, allocations: 318.2 kB / 0.8254 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.192e-05/0.4843, allocations: 13.75 kB / 0.8254 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.371e-05/0.4844, allocations: 58.19 kB / 0.8255 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.582e-05/0.4844, allocations: 73.02 kB / 0.8256 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4844, allocations: 2.156 kB / 0.8256 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001041/0.4845, allocations: 93.64 kB / 0.8257 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.4846, allocations: 6.328 kB / 0.8257 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.4846, allocations: 1.438 kB / 0.8257 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.4846, allocations: 6.812 kB / 0.8257 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.66e-05/0.4846, allocations: 22.89 kB / 0.8257 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.4846, allocations: 2.125 kB / 0.8257 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.098e-05/0.4847, allocations: 1.734 kB / 0.8257 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/0.4847, allocations: 4.531 kB / 0.8257 GB, free: 12.16 MB / 0.6198 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 6.315e-05/0.4847, allocations: 125.8 kB / 0.8258 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.4847, allocations: 2.875 kB / 0.8258 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.539e-05/0.4848, allocations: 9.578 kB / 0.8258 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.4848, allocations: 1.156 kB / 0.8258 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4848, allocations: 1.5 kB / 0.8258 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4848, allocations: 8.453 kB / 0.8258 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.4849, allocations: 121 kB / 0.826 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4849, allocations: 0 / 0.826 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.136e-05/0.485, allocations: 16.42 kB / 0.826 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.485, allocations: 0 / 0.826 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.485, allocations: 6.047 kB / 0.826 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.485, allocations: 0 / 0.826 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.485, allocations: 0.6094 kB / 0.826 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.4851, allocations: 185 kB / 0.8262 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.421e-05/0.4852, allocations: 4.5 kB / 0.8262 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.4852, allocations: 1.578 kB / 0.8262 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.862e-05/0.4852, allocations: 7.984 kB / 0.8262 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/0.4852, allocations: 7.344 kB / 0.8262 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.4853, allocations: 3.359 kB / 0.8262 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.464e-05/0.4853, allocations: 82.77 kB / 0.8263 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4853, allocations: 0 / 0.8263 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000155/0.4854, allocations: 15.47 kB / 0.8263 GB, free: 11.63 MB / 0.6198 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.0001019/0.4855, allocations: 95.89 kB / 0.8264 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001057/0.4856, allocations: 53.34 kB / 0.8264 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4856, allocations: 0 / 0.8264 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.385e-05/0.4857, allocations: 19.38 kB / 0.8264 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.4859, allocations: 8.688 kB / 0.8264 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004784/0.4864, allocations: 360.1 kB / 0.8268 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.584e-05/0.4864, allocations: 69.92 kB / 0.8268 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.4864, allocations: 12.53 kB / 0.8269 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of SimCode: time 6.32e-07/0.4864, allocations: 0 / 0.8269 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of Templates: time 0.001828/0.4883, allocations: 0.7926 MB / 0.8276 GB, free: 11.06 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.529370923992246] Failed to read output from testmodel.py, exit status != 0: 0.49528731405735016 0.506277698 0.022150202 Calling exit ...