Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.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.0006485/0.0006485, allocations: 115 kB / 19.7 MB, free: 0.5312 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.0007503/0.0007503, allocations: 203.2 kB / 23 MB, free: 3.129 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.8829/0.8829, allocations: 230.6 MB / 256.8 MB, free: 3.574 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.7549/0.7549, allocations: 203.8 MB / 0.5049 GB, free: 0.7578 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.Integers.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.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.0008113/0.0008113, allocations: 63.91 kB / 0.7195 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4503/0.4511, allocations: 102 MB / 0.8191 GB, free: 25.27 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Add): time 0.002577/0.4537, allocations: 0.7727 MB / 0.8198 GB, free: 24.79 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.455, allocations: 0.8951 MB / 0.8207 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.785e-05/0.4551, allocations: 1.219 kB / 0.8207 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.285e-05/0.4551, allocations: 9 kB / 0.8207 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.943e-05/0.4552, allocations: 11.02 kB / 0.8207 GB, free: 24.1 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.4554, allocations: 39 kB / 0.8208 GB, free: 24.08 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.4556, allocations: 91.98 kB / 0.8209 GB, free: 24.04 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.4557, allocations: 21.34 kB / 0.8209 GB, free: 24.03 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.73e-05/0.4558, allocations: 37.27 kB / 0.8209 GB, free: 24.01 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.273e-05/0.4559, allocations: 47.92 kB / 0.821 GB, free: 23.99 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.4559, allocations: 8.531 kB / 0.821 GB, free: 23.99 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.669e-05/0.4559, allocations: 8.188 kB / 0.821 GB, free: 23.99 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.763e-05/0.4559, allocations: 23.94 kB / 0.821 GB, free: 23.97 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.369e-05/0.456, allocations: 35.33 kB / 0.821 GB, free: 23.95 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.4561, allocations: 93.73 kB / 0.8211 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4561, allocations: 3.938 kB / 0.8211 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4561, allocations: 1.531 kB / 0.8211 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.4562, allocations: 1.188 kB / 0.8211 GB, free: 23.91 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000471/0.4566, allocations: 314.4 kB / 0.8214 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.4567, allocations: 12.05 kB / 0.8214 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.43e-05/0.4567, allocations: 12.7 kB / 0.8215 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.4568, allocations: 123.3 kB / 0.8216 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.4568, allocations: 3.812 kB / 0.8216 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.4569, allocations: 8.156 kB / 0.8216 GB, free: 23.47 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.4571, allocations: 110.5 kB / 0.8217 GB, free: 23.42 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.4571, allocations: 0 / 0.8217 GB, free: 23.42 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.4571, allocations: 1.094 kB / 0.8217 GB, free: 23.42 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.4571, allocations: 1.625 kB / 0.8217 GB, free: 23.42 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002132/0.4573, allocations: 98.8 kB / 0.8218 GB, free: 23.4 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004146/0.4578, allocations: 314.2 kB / 0.8221 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004029/0.4582, allocations: 123.8 kB / 0.8222 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.4583, allocations: 56.39 kB / 0.8223 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.4583, allocations: 0.875 kB / 0.8223 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.517e-05/0.4583, allocations: 37.25 kB / 0.8223 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.4583, allocations: 0 / 0.8223 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0004314/0.4587, allocations: 185 kB / 0.8225 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.4588, allocations: 52.59 kB / 0.8225 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.52e-05/0.4588, allocations: 124.5 kB / 0.8226 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.624e-06/0.4589, allocations: 25.7 kB / 0.8227 GB, free: 22.74 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.409e-05/0.4589, allocations: 98.44 kB / 0.8228 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.4589, allocations: 19.41 kB / 0.8228 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.459, allocations: 31.36 kB / 0.8228 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.543e-05/0.459, allocations: 318.7 kB / 0.8231 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.4591, allocations: 47.31 kB / 0.8232 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.4592, allocations: 48.75 kB / 0.8232 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.4594, allocations: 100.3 kB / 0.8233 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.4594, allocations: 0 / 0.8233 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002456/0.4596, allocations: 141.8 kB / 0.8234 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.4597, allocations: 6 kB / 0.8234 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.4597, allocations: 0.9375 kB / 0.8234 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.4597, allocations: 0 / 0.8234 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.799e-05/0.4598, allocations: 24.78 kB / 0.8235 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.4598, allocations: 0.625 kB / 0.8235 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.715e-05/0.4598, allocations: 20.64 kB / 0.8235 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.4599, allocations: 3.359 kB / 0.8235 GB, free: 22.17 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: 3 (reaToInt1.y,reaToInt.y,add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 5.769e-05/0.4599, allocations: 118.4 kB / 0.8236 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.098e-05/0.4599, allocations: 8.109 kB / 0.8236 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.329e-05/0.46, allocations: 14.39 kB / 0.8236 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.46, allocations: 1.438 kB / 0.8236 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.46, allocations: 0 / 0.8236 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.46, allocations: 10.05 kB / 0.8236 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.4601, allocations: 168.2 kB / 0.8238 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4601, allocations: 5.719 kB / 0.8238 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.962e-05/0.4602, allocations: 31.28 kB / 0.8238 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.4602, allocations: 1.125 kB / 0.8238 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.4602, allocations: 2.281 kB / 0.8238 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4602, allocations: 0 / 0.8238 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4602, allocations: 1.984 kB / 0.8238 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.4605, allocations: 238.1 kB / 0.8241 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.426e-05/0.4605, allocations: 6.484 kB / 0.8241 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.4605, allocations: 2.156 kB / 0.8241 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.62e-05/0.4606, allocations: 11.45 kB / 0.8241 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.168e-05/0.4607, allocations: 25.8 kB / 0.8241 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.4607, allocations: 3.266 kB / 0.8241 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.489e-05/0.4607, allocations: 101 kB / 0.8242 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4607, allocations: 0 / 0.8242 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001692/0.4609, allocations: 12.28 kB / 0.8242 GB, free: 21.57 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: 3 (add1.y,reaToInt.y,reaToInt1.y) * 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 8.815e-05/0.461, allocations: 101.1 kB / 0.8243 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000308/0.4613, allocations: 101.9 kB / 0.8244 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4613, allocations: 0.5 kB / 0.8244 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.4614, allocations: 62.11 kB / 0.8245 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.4616, allocations: 9.312 kB / 0.8245 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003598/0.462, allocations: 202.7 kB / 0.8247 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.274e-05/0.4621, allocations: 0.6935 MB / 0.8254 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.742e-05/0.4621, allocations: 19.89 kB / 0.8254 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of SimCode: time 5.11e-07/0.4621, allocations: 1.688 kB / 0.8254 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of Templates: time 0.00264/0.4648, allocations: 1.251 MB / 0.8266 GB, free: 20.46 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.446710984921083] Failed to read output from testmodel.py, exit status != 0: 0.46988613600842655 0.47889413799999997 0.020782551 Calling exit ...