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.00104/0.00104, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.0009729/0.0009729, allocations: 173 kB / 23.49 MB, free: 1.059 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.047/1.047, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.8012/0.8012, allocations: 154.8 MB / 415.1 MB, free: 488 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.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 3.807e-06/3.807e-06, allocations: 4 kB / 0.5206 GB, free: 2.285 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.1e-05/3.481e-05, allocations: 4.281 kB / 0.5206 GB, free: 2.281 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001986/0.002021, allocations: 0.6688 MB / 0.5212 GB, free: 1.637 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.00318, allocations: 0.8797 MB / 0.5221 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.335e-05/0.003243, allocations: 0 / 0.5221 GB, free: 0.7461 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.003353, allocations: 8.688 kB / 0.5221 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.003471, allocations: 8.922 kB / 0.5221 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/0.003609, allocations: 23.86 kB / 0.5221 GB, free: 0.707 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.00375, allocations: 76.38 kB / 0.5222 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.003895, allocations: 19.97 kB / 0.5222 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.856e-05/0.003993, allocations: 44.47 kB / 0.5223 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.004102, allocations: 40.83 kB / 0.5223 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.004133, allocations: 11.94 kB / 0.5223 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.54e-05/0.004149, allocations: 5.469 kB / 0.5223 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.924e-05/0.004208, allocations: 27.95 kB / 0.5223 GB, free: 500 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.61e-05/0.004254, allocations: 23.92 kB / 0.5224 GB, free: 476 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.004405, allocations: 71.73 kB / 0.5224 GB, free: 404 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.004408, allocations: 0.9375 kB / 0.5224 GB, free: 404 kB / 490.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.004409, allocations: 0 / 0.5224 GB, free: 404 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.004414, allocations: 0 / 0.5224 GB, free: 404 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.0005405/0.004955, allocations: 413.5 kB / 0.5228 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.004998, allocations: 12.03 kB / 0.5228 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.764e-05/0.005055, allocations: 14.33 kB / 0.5229 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.005237, allocations: 132.5 kB / 0.523 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.005265, allocations: 4.375 kB / 0.523 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.005284, allocations: 12.31 kB / 0.523 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.005566, allocations: 123.1 kB / 0.5231 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.005574, allocations: 1.469 kB / 0.5231 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.00559, allocations: 384 / 0.5231 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.005599, allocations: 4.375 kB / 0.5231 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.118e-05/0.00569, allocations: 29.25 kB / 0.5231 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005075/0.006198, allocations: 454.4 kB / 0.5236 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.006315, allocations: 70.91 kB / 0.5236 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.807e-05/0.006364, allocations: 29.14 kB / 0.5237 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.00638, allocations: 0 / 0.5237 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.006407, allocations: 37.39 kB / 0.5237 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.006409, allocations: 0 / 0.5237 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0002631/0.006672, allocations: 63.77 kB / 0.5238 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.006719, allocations: 89.05 kB / 0.5239 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.006839, allocations: 181.9 kB / 0.524 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.006855, allocations: 29.7 kB / 0.5241 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.006922, allocations: 143.3 kB / 0.5242 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.006947, allocations: 21.5 kB / 0.5242 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.001e-05/0.006997, allocations: 23.38 kB / 0.5242 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.007145, allocations: 0.4961 MB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.536e-05/0.00718, allocations: 4 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.715e-05/0.007227, allocations: 32.33 kB / 0.5248 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.325e-05/0.0073, allocations: 32.31 kB / 0.5248 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.007302, allocations: 3.938 kB / 0.5248 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001289/0.007431, allocations: 54.58 kB / 0.5248 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.007448, allocations: 8.5 kB / 0.5248 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.007452, allocations: 0.6875 kB / 0.5248 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.007467, allocations: 96 / 0.5248 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.007596, allocations: 21.19 kB / 0.5249 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.007601, allocations: 3.938 kB / 0.5249 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.233e-05/0.007653, allocations: 15.92 kB / 0.5249 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.007662, allocations: 4.609 kB / 0.5249 GB, free: 13.63 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 9.144e-05/0.007754, allocations: 166.3 kB / 0.5251 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.868e-05/0.007803, allocations: 7.953 kB / 0.5251 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.893e-05/0.007831, allocations: 7.625 kB / 0.5251 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.007834, allocations: 0 / 0.5251 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.007841, allocations: 5.375 kB / 0.5251 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.007846, allocations: 4 kB / 0.5251 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.008054, allocations: 148.5 kB / 0.5252 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.008056, allocations: 0 / 0.5252 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.915e-05/0.008135, allocations: 18.42 kB / 0.5252 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.008141, allocations: 0 / 0.5252 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.008153, allocations: 3.984 kB / 0.5252 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.008154, allocations: 0 / 0.5252 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.008157, allocations: 4 kB / 0.5252 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.008388, allocations: 327 kB / 0.5256 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.204e-05/0.0084, allocations: 6.828 kB / 0.5256 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.008419, allocations: 3.984 kB / 0.5256 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.008535, allocations: 8 kB / 0.5256 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.794e-05/0.008623, allocations: 23.95 kB / 0.5256 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.008632, allocations: 8 kB / 0.5256 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.843e-05/0.00869, allocations: 131.2 kB / 0.5257 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.11e-07/0.00869, allocations: 0 / 0.5257 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003068/0.008997, allocations: 20.62 kB / 0.5257 GB, free: 12.7 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.0001253/0.009122, allocations: 96.53 kB / 0.5258 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001398/0.009262, allocations: 42.28 kB / 0.5259 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.009264, allocations: 0 / 0.5259 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.111e-05/0.009315, allocations: 19.69 kB / 0.5259 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.009698, allocations: 23.86 kB / 0.5259 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004472/0.01015, allocations: 192.3 kB / 0.5261 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.734e-05/0.01021, allocations: 67.34 kB / 0.5262 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.723e-05/0.01027, allocations: 16.94 kB / 0.5262 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.332e-05/0.01032, allocations: 12.5 kB / 0.5262 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of SimCode: time 8.92e-07/0.01032, allocations: 1.25 kB / 0.5262 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of Templates: time 0.003904/0.01423, allocations: 1.326 MB / 0.5275 GB, free: 10.91 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: 3.937222332926467]