Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001475/0.001475, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001496/0.001496, allocations: 181 kB / 23.36 MB, free: 1.133 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.9476/0.9476, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8104/0.8104, allocations: 154.6 MB / 414.8 MB, free: 0.5039 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 480 MB, free: 7.012 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.576e-05, allocations: 4.141 kB / 480 MB, free: 7.008 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001404/0.001429, allocations: 0.6778 MB / 480.7 MB, free: 6.363 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008739/0.002303, allocations: 0.8832 MB / 481.5 MB, free: 5.473 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.755e-05/0.002331, allocations: 0 / 481.5 MB, free: 5.473 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.642e-05/0.002377, allocations: 3.938 kB / 481.5 MB, free: 5.469 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.559e-05/0.002443, allocations: 18.28 kB / 481.6 MB, free: 5.453 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.823e-05/0.002511, allocations: 16.81 kB / 481.6 MB, free: 5.438 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.002611, allocations: 76.8 kB / 481.7 MB, free: 5.371 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.778e-05/0.002689, allocations: 21.7 kB / 481.7 MB, free: 5.352 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.416e-05/0.002753, allocations: 48.22 kB / 481.7 MB, free: 5.309 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.527e-05/0.002818, allocations: 38.64 kB / 481.8 MB, free: 5.273 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.002831, allocations: 4 kB / 481.8 MB, free: 5.27 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.016e-05/0.002841, allocations: 9.5 kB / 481.8 MB, free: 5.262 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.144e-05/0.002873, allocations: 26.7 kB / 481.8 MB, free: 5.238 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.269e-05/0.002895, allocations: 22.08 kB / 481.8 MB, free: 5.223 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 7.631e-05/0.002972, allocations: 81.36 kB / 481.9 MB, free: 5.145 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.182e-06/0.002973, allocations: 0 / 481.9 MB, free: 5.145 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.002973, allocations: 0 / 481.9 MB, free: 5.145 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.234e-06/0.002975, allocations: 0 / 481.9 MB, free: 5.145 MB / 442.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.0002436/0.003219, allocations: 279.9 kB / 482.2 MB, free: 4.848 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.046e-05/0.003239, allocations: 8.031 kB / 482.2 MB, free: 4.84 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.08e-05/0.00326, allocations: 8.938 kB / 482.2 MB, free: 4.832 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.59e-05/0.003346, allocations: 134.5 kB / 482.3 MB, free: 4.676 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.003361, allocations: 4.375 kB / 482.3 MB, free: 4.672 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.003371, allocations: 14.19 kB / 482.3 MB, free: 4.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.003501, allocations: 104.6 kB / 482.4 MB, free: 4.543 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.206e-06/0.003505, allocations: 192 / 482.4 MB, free: 4.543 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.003513, allocations: 8.375 kB / 482.5 MB, free: 4.535 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-06/0.003515, allocations: 1 kB / 482.5 MB, free: 4.535 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003205/0.003836, allocations: 23.86 kB / 482.5 MB, free: 4.512 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002376/0.004073, allocations: 288.4 kB / 482.8 MB, free: 4.211 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.537e-05/0.004129, allocations: 53.77 kB / 482.8 MB, free: 4.141 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.004153, allocations: 18.41 kB / 482.8 MB, free: 4.117 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.004164, allocations: 4.875 kB / 482.8 MB, free: 4.113 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.00418, allocations: 34.56 kB / 482.9 MB, free: 4.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 5.51e-07/0.004181, allocations: 1.562 kB / 482.9 MB, free: 4.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001285/0.004309, allocations: 57.61 kB / 482.9 MB, free: 4.008 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.004341, allocations: 82.02 kB / 483 MB, free: 3.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.873e-05/0.0044, allocations: 122.7 kB / 483.1 MB, free: 3.777 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.004412, allocations: 25.7 kB / 483.2 MB, free: 3.746 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.995e-05/0.004442, allocations: 93.08 kB / 483.2 MB, free: 3.652 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.004459, allocations: 7.953 kB / 483.2 MB, free: 3.645 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.004491, allocations: 21.7 kB / 483.3 MB, free: 3.617 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.089e-05/0.004561, allocations: 323.4 kB / 483.6 MB, free: 3.293 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.478e-05/0.004576, allocations: 5.312 kB / 483.6 MB, free: 3.289 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.009e-05/0.004596, allocations: 17.7 kB / 483.6 MB, free: 3.266 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.49e-05/0.004641, allocations: 37.12 kB / 483.6 MB, free: 3.223 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.004642, allocations: 1.219 kB / 483.6 MB, free: 3.223 MB / 442.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.711e-05/0.004699, allocations: 53.56 kB / 483.7 MB, free: 3.164 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.857e-06/0.004708, allocations: 5.062 kB / 483.7 MB, free: 3.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.004714, allocations: 6.812 kB / 483.7 MB, free: 3.156 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.004724, allocations: 0 / 483.7 MB, free: 3.156 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.515e-05/0.004809, allocations: 12.98 kB / 483.7 MB, free: 3.145 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.004812, allocations: 0 / 483.7 MB, free: 3.145 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.776e-05/0.00484, allocations: 12.58 kB / 483.7 MB, free: 3.133 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.004847, allocations: 8.578 kB / 483.7 MB, free: 3.125 MB / 442.7 MB 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 6.799e-05/0.004915, allocations: 122 kB / 483.9 MB, free: 2.996 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.004939, allocations: 3.938 kB / 483.9 MB, free: 2.992 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.895e-05/0.004958, allocations: 12.34 kB / 483.9 MB, free: 2.98 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-06/0.004959, allocations: 0 / 483.9 MB, free: 2.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.00496, allocations: 0.7812 kB / 483.9 MB, free: 2.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.004965, allocations: 7.984 kB / 483.9 MB, free: 2.973 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.005078, allocations: 75.31 kB / 484 MB, free: 2.883 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.005081, allocations: 4 kB / 484 MB, free: 2.879 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.309e-05/0.005124, allocations: 11.98 kB / 484 MB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.005128, allocations: 8.5 kB / 484 MB, free: 2.859 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.005135, allocations: 0 / 484 MB, free: 2.859 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.005137, allocations: 5.219 kB / 484 MB, free: 2.855 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.005138, allocations: 0 / 484 MB, free: 2.855 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.005251, allocations: 222.8 kB / 484.2 MB, free: 2.621 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.201e-06/0.005257, allocations: 4.812 kB / 484.2 MB, free: 2.617 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.00527, allocations: 3.938 kB / 484.2 MB, free: 2.613 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.886e-05/0.005328, allocations: 4.625 kB / 484.2 MB, free: 2.609 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.005375, allocations: 16.56 kB / 484.2 MB, free: 2.594 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.005379, allocations: 0 / 484.2 MB, free: 2.594 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.087e-05/0.0054, allocations: 26.16 kB / 484.3 MB, free: 2.566 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0054, allocations: 0 / 484.3 MB, free: 2.566 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00015/0.00555, allocations: 15.95 kB / 484.3 MB, free: 2.551 MB / 442.7 MB 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 9.639e-05/0.005646, allocations: 77.36 kB / 484.4 MB, free: 2.469 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.949e-05/0.005716, allocations: 26.09 kB / 484.4 MB, free: 2.441 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.005719, allocations: 4 kB / 484.4 MB, free: 2.438 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.099e-05/0.00575, allocations: 21.64 kB / 484.4 MB, free: 2.414 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.005927, allocations: 12.58 kB / 484.4 MB, free: 2.402 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002473/0.006175, allocations: 182.5 kB / 484.6 MB, free: 2.199 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.408e-05/0.006209, allocations: 63.34 kB / 484.7 MB, free: 2.117 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.583e-05/0.006235, allocations: 6.344 kB / 484.7 MB, free: 2.113 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.006293, allocations: 67.36 kB / 484.7 MB, free: 2.047 MB / 442.7 MB Notification: Performance of SimCode: time 3.11e-07/0.006293, allocations: 0 / 484.7 MB, free: 2.047 MB / 442.7 MB Notification: Performance of Templates: time 0.002407/0.008701, allocations: 1.261 MB / 486 MB, free: 0.8516 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5565927429124713]