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.001475/0.001475, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001813/0.001813, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.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.294/1.294, allocations: 203.8 MB / 0.5041 GB, free: 4.625 MB / 414.1 MB " [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.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.002162/0.002162, allocations: 67.89 kB / 0.7186 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5913/0.5935, allocations: 102 MB / 0.8182 GB, free: 28.84 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002314/0.5958, allocations: 1.268 MB / 0.8195 GB, free: 27.98 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003613/0.5994, allocations: 3.09 MB / 0.8225 GB, free: 25.86 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.306e-05/0.5994, allocations: 2.219 kB / 0.8225 GB, free: 25.86 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.289e-05/0.5995, allocations: 5.25 kB / 0.8225 GB, free: 25.86 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 4.74e-05/0.5995, allocations: 9.844 kB / 0.8225 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005444/0.6001, allocations: 104.4 kB / 0.8226 GB, free: 25.8 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 8.658e-05/0.6001, allocations: 34.98 kB / 0.8226 GB, free: 25.79 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.094e-05/0.6002, allocations: 3.359 kB / 0.8226 GB, free: 25.79 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.743e-05/0.6002, allocations: 20.17 kB / 0.8227 GB, free: 25.78 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 6.519e-05/0.6003, allocations: 17.7 kB / 0.8227 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.6003, allocations: 3.375 kB / 0.8227 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002128/0.6005, allocations: 67.42 kB / 0.8227 GB, free: 25.74 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.765e-05/0.6005, allocations: 8.516 kB / 0.8228 GB, free: 25.74 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.909e-05/0.6006, allocations: 16.47 kB / 0.8228 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.6008, allocations: 62.8 kB / 0.8228 GB, free: 25.71 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6008, allocations: 6.781 kB / 0.8228 GB, free: 25.71 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6008, allocations: 0 / 0.8228 GB, free: 25.71 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.6008, allocations: 0 / 0.8228 GB, free: 25.71 MB / 0.6387 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.0003691/0.6011, allocations: 271.5 kB / 0.8231 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.6012, allocations: 11.56 kB / 0.8231 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.6013, allocations: 6.578 kB / 0.8231 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.197e-05/0.6013, allocations: 104.6 kB / 0.8232 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.6014, allocations: 9.281 kB / 0.8232 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.6014, allocations: 12.98 kB / 0.8232 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.6016, allocations: 135.1 kB / 0.8234 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.6016, allocations: 0 / 0.8234 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.6016, allocations: 1.375 kB / 0.8234 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.6016, allocations: 1.594 kB / 0.8234 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.894e-05/0.6016, allocations: 19.05 kB / 0.8234 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/0.6018, allocations: 113.9 kB / 0.8235 GB, free: 25.04 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.6019, allocations: 52.83 kB / 0.8235 GB, free: 25 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.075e-05/0.6019, allocations: 12.91 kB / 0.8236 GB, free: 24.99 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005275/0.6024, allocations: 252.8 kB / 0.8238 GB, free: 24.79 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.6025, allocations: 36.38 kB / 0.8238 GB, free: 24.75 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.6025, allocations: 0 / 0.8238 GB, free: 24.75 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0005436/0.603, allocations: 228.1 kB / 0.824 GB, free: 24.55 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.603, allocations: 52.75 kB / 0.8241 GB, free: 24.49 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.85e-05/0.6031, allocations: 106.5 kB / 0.8242 GB, free: 24.39 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.6031, allocations: 30.98 kB / 0.8242 GB, free: 24.35 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 2.738e-05/0.6031, allocations: 86.14 kB / 0.8243 GB, free: 24.27 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.6031, allocations: 30.7 kB / 0.8243 GB, free: 24.24 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.6032, allocations: 25.92 kB / 0.8244 GB, free: 24.22 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.003e-05/0.6032, allocations: 321.1 kB / 0.8247 GB, free: 23.9 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.838e-05/0.6033, allocations: 13.78 kB / 0.8247 GB, free: 23.9 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.733e-05/0.6033, allocations: 53.41 kB / 0.8247 GB, free: 23.84 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.785e-05/0.6034, allocations: 78.67 kB / 0.8248 GB, free: 23.77 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.6034, allocations: 0 / 0.8248 GB, free: 23.77 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001301/0.6035, allocations: 94.56 kB / 0.8249 GB, free: 23.72 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.6035, allocations: 8.938 kB / 0.8249 GB, free: 23.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.6035, allocations: 0 / 0.8249 GB, free: 23.72 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.6036, allocations: 3.875 kB / 0.8249 GB, free: 23.72 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.837e-05/0.6036, allocations: 18.88 kB / 0.8249 GB, free: 23.72 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.6036, allocations: 2.453 kB / 0.8249 GB, free: 23.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.824e-05/0.6037, allocations: 10.75 kB / 0.8249 GB, free: 23.71 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.6037, allocations: 3.312 kB / 0.8249 GB, free: 23.71 MB / 0.6387 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.019e-05/0.6037, allocations: 122.4 kB / 0.8251 GB, free: 23.59 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.6038, allocations: 3.75 kB / 0.8251 GB, free: 23.59 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.115e-05/0.6038, allocations: 8.859 kB / 0.8251 GB, free: 23.57 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.6038, allocations: 5.469 kB / 0.8251 GB, free: 23.57 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.6038, allocations: 0.6562 kB / 0.8251 GB, free: 23.57 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.6038, allocations: 0 / 0.8251 GB, free: 23.57 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.604, allocations: 122.3 kB / 0.8252 GB, free: 23.44 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.604, allocations: 4.703 kB / 0.8252 GB, free: 23.43 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.716e-05/0.6041, allocations: 14.62 kB / 0.8252 GB, free: 23.43 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.6041, allocations: 3.938 kB / 0.8252 GB, free: 23.43 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.6041, allocations: 6.125 kB / 0.8252 GB, free: 23.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.6041, allocations: 0 / 0.8252 GB, free: 23.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.6041, allocations: 2.031 kB / 0.8252 GB, free: 23.43 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.6043, allocations: 180.2 kB / 0.8254 GB, free: 23.27 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.558e-05/0.6043, allocations: 5.062 kB / 0.8254 GB, free: 23.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.6043, allocations: 1.938 kB / 0.8254 GB, free: 23.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.6044, allocations: 2.344 kB / 0.8254 GB, free: 23.27 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.609e-05/0.6044, allocations: 4.766 kB / 0.8254 GB, free: 23.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.6044, allocations: 14.94 kB / 0.8254 GB, free: 23.26 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 2.212e-05/0.6044, allocations: 78.84 kB / 0.8255 GB, free: 23.18 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.6044, allocations: 0 / 0.8255 GB, free: 23.18 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002341/0.6047, allocations: 14.81 kB / 0.8255 GB, free: 23.18 MB / 0.6387 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.0001031/0.6048, allocations: 97.94 kB / 0.8256 GB, free: 23.09 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001208/0.6049, allocations: 52.39 kB / 0.8257 GB, free: 23.07 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.6049, allocations: 1.531 kB / 0.8257 GB, free: 23.07 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 2.267e-05/0.6049, allocations: 15 kB / 0.8257 GB, free: 23.07 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.6052, allocations: 8.391 kB / 0.8257 GB, free: 23.06 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000528/0.6057, allocations: 332.9 kB / 0.826 GB, free: 22.79 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.669e-05/0.6058, allocations: 66.53 kB / 0.8261 GB, free: 22.72 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.399e-05/0.6058, allocations: 13.44 kB / 0.8261 GB, free: 22.71 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.708e-05/0.6059, allocations: 11.16 kB / 0.8261 GB, free: 22.7 MB / 0.6387 GB Notification: Performance of SimCode: time 2.9e-07/0.6059, allocations: 0 / 0.8261 GB, free: 22.7 MB / 0.6387 GB Notification: Performance of Templates: time 0.003337/0.6092, allocations: 0.637 MB / 0.8267 GB, free: 22.6 MB / 0.6387 GB " [Timeout remaining time 659] 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: 6.84668274782598] Failed to read output from testmodel.py, exit status != 0: 0.6179098337888718 0.629610103 0.026208257000000002 Calling exit ...