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.001144/0.001144, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001212/0.001212, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.082/1.082, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.824/0.824, allocations: 154.9 MB / 415.9 MB, free: 272 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 1.873e-06/1.873e-06, allocations: 0.5469 kB / 0.5219 GB, free: 1.547 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.269e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.543 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001406/0.001429, allocations: 0.6599 MB / 0.5225 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008157/0.002244, allocations: 0.8803 MB / 0.5234 GB, free: 12 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.052e-05/0.002305, allocations: 0 / 0.5234 GB, free: 12 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.002407, allocations: 7.922 kB / 0.5234 GB, free: 4 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.002509, allocations: 8.703 kB / 0.5234 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 9.779e-05/0.002607, allocations: 23.77 kB / 0.5234 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.00271, allocations: 77.62 kB / 0.5235 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.002819, allocations: 15.98 kB / 0.5235 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.229e-05/0.002891, allocations: 47.89 kB / 0.5236 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.495e-05/0.002976, allocations: 43.89 kB / 0.5236 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.002998, allocations: 9.531 kB / 0.5236 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.09e-05/0.003009, allocations: 4 kB / 0.5236 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.346e-05/0.003052, allocations: 31.91 kB / 0.5237 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.941e-05/0.003082, allocations: 19.92 kB / 0.5237 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 9.862e-05/0.00318, allocations: 69.08 kB / 0.5237 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.003182, allocations: 0 / 0.5237 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.174e-06/0.003184, allocations: 3.984 kB / 0.5237 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.003188, allocations: 3.938 kB / 0.5237 GB, free: 15.66 MB / 0.4948 GB 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.0003564/0.003544, allocations: 413 kB / 0.5241 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.003575, allocations: 8.75 kB / 0.5241 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.003607, allocations: 12.89 kB / 0.5242 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.003718, allocations: 125.9 kB / 0.5243 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.003737, allocations: 8.375 kB / 0.5243 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.649e-06/0.003747, allocations: 4.375 kB / 0.5243 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.003911, allocations: 119.2 kB / 0.5244 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.003917, allocations: 192 / 0.5244 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.003927, allocations: 3.938 kB / 0.5244 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.003931, allocations: 384 / 0.5244 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.187e-05/0.003973, allocations: 19.92 kB / 0.5244 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003141/0.004287, allocations: 431.2 kB / 0.5248 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.771e-05/0.004365, allocations: 70.05 kB / 0.5249 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.738e-05/0.004392, allocations: 23.44 kB / 0.5249 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.004405, allocations: 0.5312 kB / 0.5249 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.004426, allocations: 41.89 kB / 0.525 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.004426, allocations: 0 / 0.525 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0001604/0.004587, allocations: 63.11 kB / 0.525 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.004621, allocations: 77.11 kB / 0.5251 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.753e-05/0.004709, allocations: 191.3 kB / 0.5253 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.004719, allocations: 25.7 kB / 0.5253 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.531e-05/0.004775, allocations: 146.8 kB / 0.5254 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.004794, allocations: 19.88 kB / 0.5255 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.00483, allocations: 28.06 kB / 0.5255 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.004948, allocations: 0.4923 MB / 0.526 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.96e-05/0.004967, allocations: 4.562 kB / 0.526 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.621e-05/0.004994, allocations: 25.33 kB / 0.526 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.476e-05/0.005038, allocations: 31.38 kB / 0.526 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.005041, allocations: 3.938 kB / 0.526 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.035e-05/0.005121, allocations: 58.83 kB / 0.5261 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.005132, allocations: 4 kB / 0.5261 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.005139, allocations: 0.5625 kB / 0.5261 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.005148, allocations: 5.531 kB / 0.5261 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.793e-05/0.005226, allocations: 11.98 kB / 0.5261 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.005228, allocations: 0 / 0.5261 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.24e-05/0.00526, allocations: 19.84 kB / 0.5261 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.005266, allocations: 5.938 kB / 0.5261 GB, free: 12.97 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 7.721e-05/0.005343, allocations: 168.5 kB / 0.5263 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.005372, allocations: 3.953 kB / 0.5263 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.025e-05/0.005393, allocations: 11.62 kB / 0.5263 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.005394, allocations: 2.75 kB / 0.5263 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.005397, allocations: 3.984 kB / 0.5263 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.0054, allocations: 4 kB / 0.5263 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.005528, allocations: 113.2 kB / 0.5264 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.00553, allocations: 8 kB / 0.5264 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.199e-05/0.005572, allocations: 11.98 kB / 0.5265 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.005575, allocations: 3.938 kB / 0.5265 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.005581, allocations: 5.719 kB / 0.5265 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.005582, allocations: 0 / 0.5265 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.005582, allocations: 0 / 0.5265 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.00573, allocations: 319.1 kB / 0.5268 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-06/0.005738, allocations: 12.81 kB / 0.5268 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.005749, allocations: 4 kB / 0.5268 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.004e-05/0.005809, allocations: 4.844 kB / 0.5268 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.005856, allocations: 19.97 kB / 0.5268 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.00586, allocations: 0.6562 kB / 0.5268 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.71e-05/0.005897, allocations: 131.2 kB / 0.5269 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.005897, allocations: 0.625 kB / 0.5269 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000175/0.006072, allocations: 16 kB / 0.5269 GB, free: 12.09 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 7.697e-05/0.006149, allocations: 98.19 kB / 0.527 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.884e-05/0.006228, allocations: 27.61 kB / 0.5271 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.006229, allocations: 0 / 0.5271 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.455e-05/0.006263, allocations: 31.66 kB / 0.5271 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.006483, allocations: 11.12 kB / 0.5271 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002714/0.006755, allocations: 201.4 kB / 0.5273 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.667e-05/0.006791, allocations: 67.34 kB / 0.5274 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.837e-05/0.00682, allocations: 9.812 kB / 0.5274 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.657e-05/0.006886, allocations: 78.69 kB / 0.5274 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of SimCode: time 3.51e-07/0.006887, allocations: 0 / 0.5274 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of Templates: time 0.002728/0.009615, allocations: 1.433 MB / 0.5288 GB, free: 10.15 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.8092459817416966]