Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Multiply.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.001801/0.001801, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002182/0.002182, allocations: 161.4 kB / 22.45 MB, free: 5.375 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.486/1.486, allocations: 177.2 MB / 202.8 MB, free: 9.168 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.218/1.218, allocations: 154.6 MB / 413.7 MB, free: 5.297 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.Controls.OBC.CDL.Integers.Validation.Multiply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Multiply") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Multiply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Multiply") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.006e-06/3.006e-06, allocations: 0 / 0.6185 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.288e-05/3.589e-05, allocations: 4.672 kB / 0.6185 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.003892/0.003928, allocations: 1.97 MB / 0.6204 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002424/0.006352, allocations: 1.27 MB / 0.6217 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.006466, allocations: 7.938 kB / 0.6217 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004819/0.006948, allocations: 168.6 kB / 0.6219 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0005154/0.007464, allocations: 213.3 kB / 0.6221 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003535/0.007817, allocations: 167.4 kB / 0.6222 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004302/0.008247, allocations: 343 kB / 0.6225 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.00839, allocations: 28.91 kB / 0.6226 GB, free: 480 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002911/0.008681, allocations: 191.5 kB / 0.6228 GB, free: 288 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/0.008926, allocations: 143.6 kB / 0.6229 GB, free: 144 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.199e-05/0.008968, allocations: 19.94 kB / 0.6229 GB, free: 124 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.00911, allocations: 63.84 kB / 0.623 GB, free: 60 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.00925, allocations: 95.67 kB / 0.6231 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.009358, allocations: 71.72 kB / 0.6231 GB, free: 15.89 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000494/0.009852, allocations: 378.7 kB / 0.6235 GB, free: 15.52 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.009856, allocations: 0 / 0.6235 GB, free: 15.52 MB / 0.545 GB Notification: Performance of FrontEnd: time 6.41e-07/0.009856, allocations: 4 kB / 0.6235 GB, free: 15.52 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.009862, allocations: 0 / 0.6235 GB, free: 15.52 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001083/0.01095, allocations: 0.5779 MB / 0.6241 GB, free: 14.91 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.01098, allocations: 9.469 kB / 0.6241 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.344e-05/0.01106, allocations: 36.7 kB / 0.6241 GB, free: 14.87 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005392/0.0116, allocations: 308.3 kB / 0.6244 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.01163, allocations: 16.11 kB / 0.6244 GB, free: 14.53 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.01165, allocations: 4 kB / 0.6244 GB, free: 14.53 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002697/0.01192, allocations: 109.5 kB / 0.6245 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.01193, allocations: 0 / 0.6245 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.01195, allocations: 7.984 kB / 0.6245 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.01195, allocations: 4 kB / 0.6245 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.01215, allocations: 67.89 kB / 0.6246 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000825/0.01298, allocations: 428.1 kB / 0.625 GB, free: 13.89 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003787/0.01335, allocations: 134.7 kB / 0.6251 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.01349, allocations: 52.77 kB / 0.6252 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.0135, allocations: 4 kB / 0.6252 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002672/0.01377, allocations: 111.3 kB / 0.6253 GB, free: 13.57 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.01377, allocations: 3.938 kB / 0.6253 GB, free: 13.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0006093/0.01438, allocations: 240.1 kB / 0.6255 GB, free: 13.32 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.01442, allocations: 55.34 kB / 0.6256 GB, free: 13.26 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006727/0.0151, allocations: 0.5327 MB / 0.6261 GB, free: 12.72 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.01512, allocations: 25.7 kB / 0.6261 GB, free: 12.69 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.01528, allocations: 172.5 kB / 0.6263 GB, free: 12.52 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.692e-05/0.01534, allocations: 39.69 kB / 0.6263 GB, free: 12.48 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.01545, allocations: 65.97 kB / 0.6264 GB, free: 12.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.01566, allocations: 350.8 kB / 0.6267 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.01588, allocations: 108.5 kB / 0.6268 GB, free: 11.95 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.01611, allocations: 135.6 kB / 0.627 GB, free: 11.81 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000394/0.01651, allocations: 191.7 kB / 0.6271 GB, free: 11.61 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.01651, allocations: 4 kB / 0.6271 GB, free: 11.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006365/0.01715, allocations: 329.3 kB / 0.6275 GB, free: 11.28 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.01717, allocations: 10.25 kB / 0.6275 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.01718, allocations: 7.938 kB / 0.6275 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.0172, allocations: 0 / 0.6275 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.01744, allocations: 51.91 kB / 0.6275 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.01746, allocations: 11.92 kB / 0.6275 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.0176, allocations: 15.89 kB / 0.6276 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/0.01764, allocations: 19.97 kB / 0.6276 GB, free: 11.17 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt2.y,reaToInt1.y,product.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0002287/0.01787, allocations: 190.6 kB / 0.6278 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.535e-05/0.01792, allocations: 35.77 kB / 0.6278 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004788/0.0184, allocations: 215.5 kB / 0.628 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.01841, allocations: 7.984 kB / 0.628 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.01842, allocations: 7.938 kB / 0.628 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.01842, allocations: 0 / 0.628 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.0187, allocations: 233.1 kB / 0.6282 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.0187, allocations: 0 / 0.6282 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.555e-05/0.01878, allocations: 12 kB / 0.6282 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.01879, allocations: 3.984 kB / 0.6282 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.01881, allocations: 8 kB / 0.6283 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01881, allocations: 0 / 0.6283 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01881, allocations: 4 kB / 0.6283 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004349/0.01925, allocations: 232.6 kB / 0.6285 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.391e-05/0.01932, allocations: 43.75 kB / 0.6285 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/0.01936, allocations: 0 / 0.6285 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.01947, allocations: 8 kB / 0.6285 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.013e-05/0.01955, allocations: 19.97 kB / 0.6286 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/0.01957, allocations: 11.92 kB / 0.6286 GB, free: 10.09 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003912/0.01996, allocations: 327.1 kB / 0.6289 GB, free: 9.773 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01996, allocations: 0 / 0.6289 GB, free: 9.773 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003268/0.02029, allocations: 55.94 kB / 0.6289 GB, free: 9.719 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,product.y,reaToInt1.y,reaToInt2.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001691/0.02198, allocations: 458.7 kB / 0.6294 GB, free: 9.473 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004545/0.02243, allocations: 191.8 kB / 0.6295 GB, free: 9.285 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.02243, allocations: 0 / 0.6295 GB, free: 9.285 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001684/0.0226, allocations: 59.97 kB / 0.6296 GB, free: 9.227 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004923/0.02309, allocations: 91.33 kB / 0.6297 GB, free: 9.148 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009588/0.02405, allocations: 0.5619 MB / 0.6302 GB, free: 8.562 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002015/0.02426, allocations: 187.8 kB / 0.6304 GB, free: 8.359 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001446/0.0244, allocations: 54.94 kB / 0.6305 GB, free: 8.305 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.0245, allocations: 40.48 kB / 0.6305 GB, free: 8.266 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.0245, allocations: 0 / 0.6305 GB, free: 8.266 MB / 0.545 GB Notification: Performance of Templates: time 0.01015/0.03465, allocations: 4.501 MB / 0.6349 GB, free: 3.852 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Multiply.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Multiply.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Multiply -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.047499716281891] Failed to read output from testmodel.py, exit status != 0: 0.0445321649312973 0.059140386 0.046141205000000005 Calling exit ...