Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.001032/0.001032, allocations: 93.06 kB / 19.65 MB, free: 280 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.001014/0.001014, allocations: 165 kB / 23.02 MB, free: 1.555 MB / 18.57 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.9497/0.9497, allocations: 177.1 MB / 203.4 MB, free: 5.621 MB / 186.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-535:34: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-535:42: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.8007/0.8007, allocations: 154.8 MB / 414.7 MB, free: 496 kB / 378.7 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 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.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0.875 kB / 0.5205 GB, free: 1.957 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.21e-05/1.375e-05, allocations: 2.312 kB / 0.5206 GB, free: 1.953 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001112/0.001125, allocations: 0.6618 MB / 0.5212 GB, free: 1.316 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007333/0.001859, allocations: 0.8801 MB / 0.5221 GB, free: 436 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.781e-05/0.001886, allocations: 1.641 kB / 0.5221 GB, free: 436 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.506e-05/0.001941, allocations: 7.922 kB / 0.5221 GB, free: 428 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 1.739e-05/0.001959, allocations: 5.406 kB / 0.5221 GB, free: 424 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.165e-05/0.002051, allocations: 23.86 kB / 0.5221 GB, free: 400 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.483e-05/0.002095, allocations: 35.91 kB / 0.5221 GB, free: 364 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.845e-05/0.002144, allocations: 8 kB / 0.5221 GB, free: 356 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.63e-05/0.00218, allocations: 12.92 kB / 0.5221 GB, free: 344 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.407e-05/0.002214, allocations: 15.92 kB / 0.5222 GB, free: 328 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.002225, allocations: 4 kB / 0.5222 GB, free: 324 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.615e-06/0.002233, allocations: 5.031 kB / 0.5222 GB, free: 320 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.17e-05/0.002265, allocations: 15.97 kB / 0.5222 GB, free: 304 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.694e-05/0.002281, allocations: 9.531 kB / 0.5222 GB, free: 296 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 5.285e-05/0.002334, allocations: 27.89 kB / 0.5222 GB, free: 268 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.322e-06/0.002336, allocations: 0 / 0.5222 GB, free: 268 kB / 490.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.002336, allocations: 0 / 0.5222 GB, free: 268 kB / 490.7 MB Notification: Performance of Transformations before backend: time 2.995e-06/0.002339, allocations: 0 / 0.5222 GB, free: 268 kB / 490.7 MB 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.0002454/0.002584, allocations: 373.3 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.687e-05/0.002611, allocations: 13.31 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.881e-05/0.00263, allocations: 0.9375 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.335e-05/0.002714, allocations: 124.6 kB / 0.5227 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.002724, allocations: 384 / 0.5227 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.002732, allocations: 9.719 kB / 0.5227 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.002834, allocations: 58.94 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.00284, allocations: 192 / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.002847, allocations: 9.094 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.002851, allocations: 384 / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.207e-05/0.002883, allocations: 21.48 kB / 0.5228 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001974/0.00308, allocations: 267.7 kB / 0.5231 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.944e-05/0.00312, allocations: 31.06 kB / 0.5231 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.028e-05/0.00314, allocations: 22.02 kB / 0.5231 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.003152, allocations: 3.938 kB / 0.5231 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.003168, allocations: 37.33 kB / 0.5232 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.021e-06/0.003169, allocations: 0 / 0.5232 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 9.267e-05/0.003262, allocations: 45.69 kB / 0.5232 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.964e-05/0.003281, allocations: 51.91 kB / 0.5232 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.808e-05/0.00334, allocations: 163.4 kB / 0.5234 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.003349, allocations: 25.7 kB / 0.5234 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.614e-05/0.003386, allocations: 134.8 kB / 0.5236 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.458e-06/0.003395, allocations: 4 kB / 0.5236 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.003421, allocations: 24.34 kB / 0.5236 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.995e-05/0.003521, allocations: 496.1 kB / 0.5241 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.158e-05/0.003533, allocations: 4.938 kB / 0.5241 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.044e-05/0.003543, allocations: 7.938 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.347e-05/0.003567, allocations: 16.62 kB / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.003568, allocations: 0 / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.685e-05/0.003614, allocations: 54.31 kB / 0.5241 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.175e-06/0.003623, allocations: 4.688 kB / 0.5241 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.003626, allocations: 5.219 kB / 0.5241 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.574e-06/0.003634, allocations: 4 kB / 0.5241 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.433e-05/0.003678, allocations: 4 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.003681, allocations: 0.625 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.698e-05/0.003698, allocations: 7.984 kB / 0.5242 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-06/0.003701, allocations: 5.75 kB / 0.5242 GB, free: 14.08 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.618e-05/0.003757, allocations: 156.5 kB / 0.5243 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.003772, allocations: 7.938 kB / 0.5243 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.638e-05/0.003789, allocations: 7.312 kB / 0.5243 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.00379, allocations: 1.719 kB / 0.5243 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.003792, allocations: 0 / 0.5243 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.003795, allocations: 0 / 0.5243 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.51e-05/0.00388, allocations: 124.7 kB / 0.5244 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.003881, allocations: 0 / 0.5244 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.941e-05/0.0039, allocations: 9.234 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.003902, allocations: 3.938 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.003907, allocations: 4 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.003908, allocations: 2.438 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.2e-07/0.003908, allocations: 0 / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.388e-05/0.003992, allocations: 191.9 kB / 0.5247 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-06/0.003996, allocations: 0 / 0.5247 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.193e-06/0.004003, allocations: 3.938 kB / 0.5247 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.134e-05/0.004035, allocations: 10.94 kB / 0.5247 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.873e-05/0.004063, allocations: 7.984 kB / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.004065, allocations: 4 kB / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.165e-05/0.004097, allocations: 127.2 kB / 0.5248 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004097, allocations: 0 / 0.5248 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001283/0.004225, allocations: 4 kB / 0.5248 GB, free: 13.37 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 5.212e-05/0.004277, allocations: 95.25 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.032e-05/0.004328, allocations: 21.66 kB / 0.5249 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.61e-07/0.004328, allocations: 0 / 0.5249 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.804e-05/0.004347, allocations: 15.67 kB / 0.5249 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.004485, allocations: 6.562 kB / 0.5249 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000179/0.004664, allocations: 134 kB / 0.5251 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.823e-05/0.004692, allocations: 59.34 kB / 0.5251 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.669e-05/0.004709, allocations: 6.75 kB / 0.5251 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.121e-05/0.00473, allocations: 12.5 kB / 0.5251 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of SimCode: time 5.01e-07/0.00473, allocations: 0 / 0.5251 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of Templates: time 0.001803/0.006533, allocations: 0.6581 MB / 0.5258 GB, free: 12.34 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.923900419380516]