Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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.002241/0.002241, allocations: 81.5 kB / 19.44 MB, free: 344 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.002752/0.002752, allocations: 177.2 kB / 22.76 MB, free: 1.66 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 1.596/1.596, allocations: 177.1 MB / 203.1 MB, free: 5.262 MB / 186.7 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-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 1.36/1.36, allocations: 154.8 MB / 414.3 MB, free: 392 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 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.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 0 / 0.5198 GB, free: 2.246 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.605e-05/2.841e-05, allocations: 5.812 kB / 0.5198 GB, free: 2.242 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001854/0.001883, allocations: 0.6648 MB / 0.5205 GB, free: 1.598 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.003109, allocations: 0.8557 MB / 0.5213 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.83e-05/0.003157, allocations: 4 kB / 0.5213 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.00326, allocations: 12.89 kB / 0.5213 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.76e-05/0.003348, allocations: 3.938 kB / 0.5214 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001156/0.003463, allocations: 20.47 kB / 0.5214 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.003605, allocations: 84.47 kB / 0.5215 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.003721, allocations: 15.98 kB / 0.5215 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.003823, allocations: 49.11 kB / 0.5215 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.003933, allocations: 35.97 kB / 0.5216 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.00396, allocations: 4 kB / 0.5216 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.745e-05/0.003977, allocations: 4.625 kB / 0.5216 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.629e-05/0.004043, allocations: 35.89 kB / 0.5216 GB, free: 480 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.822e-05/0.004102, allocations: 17.75 kB / 0.5216 GB, free: 464 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.004278, allocations: 103.6 kB / 0.5217 GB, free: 360 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.00428, allocations: 0 / 0.5217 GB, free: 360 kB / 490.7 MB Notification: Performance of FrontEnd: time 3.587e-06/0.004284, allocations: 4 kB / 0.5217 GB, free: 356 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.00429, allocations: 0 / 0.5217 GB, free: 356 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006614/0.004951, allocations: 413.7 kB / 0.5221 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.004986, allocations: 8.031 kB / 0.5221 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.609e-05/0.005042, allocations: 12.89 kB / 0.5221 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.005272, allocations: 136.4 kB / 0.5223 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.005302, allocations: 9.656 kB / 0.5223 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.005321, allocations: 4.375 kB / 0.5223 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003413/0.005663, allocations: 138.1 kB / 0.5224 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.005672, allocations: 4.125 kB / 0.5224 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.005689, allocations: 5.125 kB / 0.5224 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.005693, allocations: 384 / 0.5224 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003425/0.006036, allocations: 113.2 kB / 0.5225 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006958/0.006731, allocations: 483.7 kB / 0.523 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.007006, allocations: 106.1 kB / 0.5231 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.007178, allocations: 71 kB / 0.5231 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.007198, allocations: 0 / 0.5231 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.007232, allocations: 37.33 kB / 0.5232 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.007233, allocations: 0 / 0.5232 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0008275/0.00806, allocations: 181.4 kB / 0.5234 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.008121, allocations: 77.67 kB / 0.5234 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.008311, allocations: 193.9 kB / 0.5236 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.008337, allocations: 30.2 kB / 0.5236 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.008439, allocations: 143.3 kB / 0.5238 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.008466, allocations: 12.91 kB / 0.5238 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.075e-05/0.008527, allocations: 27.38 kB / 0.5238 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002829/0.008809, allocations: 0.5 MB / 0.5243 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.008968, allocations: 41.42 kB / 0.5243 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.009126, allocations: 67.31 kB / 0.5244 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.009404, allocations: 108.6 kB / 0.5245 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.009406, allocations: 1.75 kB / 0.5245 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003468/0.009753, allocations: 129.5 kB / 0.5246 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.009766, allocations: 4 kB / 0.5246 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.00977, allocations: 2.156 kB / 0.5246 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.009786, allocations: 4 kB / 0.5247 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.009943, allocations: 19.97 kB / 0.5247 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.009951, allocations: 4 kB / 0.5247 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.916e-05/0.01003, allocations: 11.98 kB / 0.5247 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.01004, allocations: 6.75 kB / 0.5247 GB, free: 13.06 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001468/0.01019, allocations: 168.5 kB / 0.5249 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/0.01024, allocations: 7.953 kB / 0.5249 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.706e-05/0.01028, allocations: 11.62 kB / 0.5249 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.01028, allocations: 0 / 0.5249 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.01028, allocations: 0 / 0.5249 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.01028, allocations: 1.594 kB / 0.5249 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.01055, allocations: 160.5 kB / 0.525 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01055, allocations: 0 / 0.525 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.01066, allocations: 19.97 kB / 0.525 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.01067, allocations: 0.9375 kB / 0.525 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.01068, allocations: 4 kB / 0.525 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.01069, allocations: 4.875 kB / 0.5251 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.01069, allocations: 0 / 0.5251 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000528/0.01122, allocations: 395.6 kB / 0.5254 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.348e-05/0.01123, allocations: 8.797 kB / 0.5254 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.01125, allocations: 0 / 0.5254 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.01138, allocations: 14.7 kB / 0.5255 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.759e-05/0.01148, allocations: 27.95 kB / 0.5255 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/0.01149, allocations: 4 kB / 0.5255 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001037/0.01159, allocations: 135.2 kB / 0.5256 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01159, allocations: 0 / 0.5256 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002795/0.01187, allocations: 16 kB / 0.5256 GB, free: 12.04 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001295/0.012, allocations: 102.3 kB / 0.5257 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003691/0.01237, allocations: 111.6 kB / 0.5258 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01237, allocations: 0 / 0.5258 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.01256, allocations: 67.56 kB / 0.5259 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.01291, allocations: 26.33 kB / 0.5259 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004745/0.01338, allocations: 197.6 kB / 0.5261 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.01349, allocations: 86.66 kB / 0.5262 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.066e-05/0.01356, allocations: 11.98 kB / 0.5262 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.319e-05/0.01361, allocations: 12.5 kB / 0.5262 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of SimCode: time 5e-07/0.01361, allocations: 0 / 0.5262 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of Templates: time 0.004612/0.01822, allocations: 1.332 MB / 0.5275 GB, free: 10.11 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.178623483050615]