Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.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.0007103/0.0007103, allocations: 117.6 kB / 19.7 MB, free: 0.5273 MB / 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.0007513/0.0007513, allocations: 215.9 kB / 23.01 MB, free: 3.102 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.8704/0.8704, allocations: 230.6 MB / 256.8 MB, free: 3.434 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.748/0.748, allocations: 203.8 MB / 0.5049 GB, free: 0.6875 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.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") [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.0008786/0.0008786, allocations: 59.91 kB / 0.7195 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.445/0.4459, allocations: 102 MB / 0.8191 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.001407/0.4473, allocations: 0.692 MB / 0.8198 GB, free: 24.78 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007092/0.448, allocations: 0.8357 MB / 0.8206 GB, free: 24.14 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.202e-05/0.448, allocations: 0.75 kB / 0.8206 GB, free: 24.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.869e-05/0.448, allocations: 7 kB / 0.8206 GB, free: 24.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.106e-05/0.4481, allocations: 13.39 kB / 0.8206 GB, free: 24.13 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 5.3e-05/0.4482, allocations: 10.36 kB / 0.8207 GB, free: 24.12 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.179e-05/0.4482, allocations: 46.33 kB / 0.8207 GB, free: 24.1 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.547e-05/0.4483, allocations: 6.828 kB / 0.8207 GB, free: 24.1 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.007e-05/0.4484, allocations: 20.22 kB / 0.8207 GB, free: 24.09 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.82e-05/0.4484, allocations: 20.14 kB / 0.8207 GB, free: 24.08 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.4484, allocations: 4 kB / 0.8207 GB, free: 24.08 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.346e-06/0.4485, allocations: 3.875 kB / 0.8207 GB, free: 24.08 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.4485, allocations: 14.7 kB / 0.8208 GB, free: 24.07 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.557e-05/0.4485, allocations: 17.23 kB / 0.8208 GB, free: 24.06 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 8.582e-05/0.4486, allocations: 44.73 kB / 0.8208 GB, free: 24.04 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4486, allocations: 0.5312 kB / 0.8208 GB, free: 24.04 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4486, allocations: 0.5625 kB / 0.8208 GB, free: 24.04 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.4486, allocations: 2.188 kB / 0.8208 GB, free: 24.04 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003285/0.4489, allocations: 293.7 kB / 0.8211 GB, free: 23.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.449, allocations: 11.11 kB / 0.8211 GB, free: 23.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.782e-05/0.449, allocations: 7.234 kB / 0.8211 GB, free: 23.76 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.22e-05/0.449, allocations: 107.2 kB / 0.8212 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.4491, allocations: 6.438 kB / 0.8212 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.4491, allocations: 1.812 kB / 0.8212 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.4492, allocations: 71.72 kB / 0.8213 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.4492, allocations: 4.125 kB / 0.8213 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.4492, allocations: 8.734 kB / 0.8213 GB, free: 23.58 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.4493, allocations: 0.6875 kB / 0.8213 GB, free: 23.58 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.4494, allocations: 63.88 kB / 0.8214 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002585/0.4497, allocations: 240.2 kB / 0.8216 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.4498, allocations: 62.64 kB / 0.8217 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.912e-05/0.4499, allocations: 43.17 kB / 0.8217 GB, free: 23.28 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.4499, allocations: 0 / 0.8217 GB, free: 23.28 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.321e-05/0.4499, allocations: 32.77 kB / 0.8217 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.4499, allocations: 0 / 0.8217 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003116/0.4502, allocations: 128.1 kB / 0.8219 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.002e-05/0.4502, allocations: 55.34 kB / 0.8219 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.529e-05/0.4503, allocations: 112.1 kB / 0.822 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.03e-06/0.4503, allocations: 25.7 kB / 0.822 GB, free: 22.99 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.362e-05/0.4503, allocations: 84.19 kB / 0.8221 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.4503, allocations: 17.53 kB / 0.8221 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/0.4504, allocations: 12.77 kB / 0.8222 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.113e-05/0.4504, allocations: 321.4 kB / 0.8225 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.753e-05/0.4505, allocations: 30.44 kB / 0.8225 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.072e-05/0.4505, allocations: 35.53 kB / 0.8225 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.4507, allocations: 65.22 kB / 0.8226 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.4507, allocations: 4.734 kB / 0.8226 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001692/0.4509, allocations: 101 kB / 0.8227 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.4509, allocations: 6.188 kB / 0.8227 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.4509, allocations: 0 / 0.8227 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.4509, allocations: 1.641 kB / 0.8227 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.826e-05/0.451, allocations: 18.88 kB / 0.8227 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.451, allocations: 2.172 kB / 0.8227 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.893e-05/0.451, allocations: 14 kB / 0.8227 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.451, allocations: 9.531 kB / 0.8227 GB, free: 22.47 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 (3): * Single equations (assignments): 3 * 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.302e-05/0.4511, allocations: 118.2 kB / 0.8228 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.4511, allocations: 1.906 kB / 0.8228 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.803e-05/0.4511, allocations: 5.844 kB / 0.8229 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.4511, allocations: 0 / 0.8229 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.4511, allocations: 1.984 kB / 0.8229 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4511, allocations: 0 / 0.8229 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.293e-05/0.4512, allocations: 149.1 kB / 0.823 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4512, allocations: 1.875 kB / 0.823 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.155e-05/0.4512, allocations: 18.8 kB / 0.823 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.4512, allocations: 0.75 kB / 0.823 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.4512, allocations: 1.609 kB / 0.823 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.4512, allocations: 0 / 0.823 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4512, allocations: 0 / 0.823 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.4514, allocations: 210.2 kB / 0.8232 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.113e-06/0.4514, allocations: 2.625 kB / 0.8232 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.4514, allocations: 1.031 kB / 0.8232 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.871e-05/0.4515, allocations: 12.69 kB / 0.8232 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.4515, allocations: 7.453 kB / 0.8232 GB, free: 22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.4515, allocations: 0 / 0.8232 GB, free: 22 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.202e-05/0.4516, allocations: 89.16 kB / 0.8233 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4516, allocations: 0 / 0.8233 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001396/0.4517, allocations: 6.281 kB / 0.8233 GB, free: 21.93 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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 7.793e-05/0.4518, allocations: 96.84 kB / 0.8234 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002031/0.452, allocations: 70.47 kB / 0.8235 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.452, allocations: 0 / 0.8235 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.517e-05/0.4521, allocations: 37.89 kB / 0.8235 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.4523, allocations: 13.22 kB / 0.8235 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002535/0.4525, allocations: 147.9 kB / 0.8237 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.257e-05/0.4526, allocations: 0.6796 MB / 0.8243 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.4526, allocations: 9.75 kB / 0.8244 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of SimCode: time 4.51e-07/0.4526, allocations: 0 / 0.8244 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of Templates: time 0.001837/0.4545, allocations: 0.7489 MB / 0.8251 GB, free: 20.91 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.434329462936148] Failed to read output from testmodel.py, exit status != 0: 0.45981530798599124 0.46855038099999996 0.018187582 Calling exit ...