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.0007418/0.0007418, allocations: 76.55 kB / 19.93 MB, free: 4.617 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.0007998/0.0007998, allocations: 177.9 kB / 23.22 MB, free: 1.332 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.8383/0.8383, allocations: 177.2 MB / 203.5 MB, free: 5.5 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-531:686: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-531:694: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.681/0.681, allocations: 154.6 MB / 414.5 MB, free: 0.7188 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 3.036e-06/3.036e-06, allocations: 0 / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.935e-05/3.238e-05, allocations: 5.125 kB / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001374/0.001407, allocations: 0.6547 MB / 0.62 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008265/0.002233, allocations: 0.8587 MB / 0.6208 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.29e-05/0.002286, allocations: 0 / 0.6208 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.002393, allocations: 7.938 kB / 0.6208 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.002497, allocations: 7.984 kB / 0.6208 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001125/0.002609, allocations: 19.92 kB / 0.6208 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.002716, allocations: 83.69 kB / 0.6209 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.002842, allocations: 23.97 kB / 0.6209 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.017e-05/0.002912, allocations: 43.89 kB / 0.621 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.625e-05/0.002998, allocations: 43.95 kB / 0.621 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.003028, allocations: 4 kB / 0.621 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.1e-05/0.003039, allocations: 4 kB / 0.621 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.792e-05/0.003087, allocations: 31.91 kB / 0.6211 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.398e-05/0.003121, allocations: 23.91 kB / 0.6211 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.00324, allocations: 91.73 kB / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.003241, allocations: 4 kB / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.193e-06/0.003243, allocations: 0 / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.003247, allocations: 0 / 0.6212 GB, free: 11.23 MB / 0.5886 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.0004944/0.003741, allocations: 326 kB / 0.6215 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.003779, allocations: 8.031 kB / 0.6215 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.183e-05/0.003811, allocations: 8.891 kB / 0.6215 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.003944, allocations: 137.6 kB / 0.6216 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.003968, allocations: 8.359 kB / 0.6216 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.003981, allocations: 8.375 kB / 0.6217 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.004213, allocations: 163.8 kB / 0.6218 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.004221, allocations: 192 / 0.6218 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.004234, allocations: 4.375 kB / 0.6218 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.004239, allocations: 8.312 kB / 0.6218 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000229/0.004468, allocations: 155.7 kB / 0.622 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.004837, allocations: 376.4 kB / 0.6223 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.004996, allocations: 121.1 kB / 0.6224 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.005099, allocations: 77.69 kB / 0.6225 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.005114, allocations: 0 / 0.6225 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.005135, allocations: 34.56 kB / 0.6226 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 7.12e-07/0.005135, allocations: 0 / 0.6226 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0004067/0.005542, allocations: 229.3 kB / 0.6228 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.005579, allocations: 85.11 kB / 0.6229 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.285e-05/0.005651, allocations: 125.8 kB / 0.623 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.005662, allocations: 25.7 kB / 0.623 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.31e-05/0.005705, allocations: 100.3 kB / 0.6231 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.968e-05/0.005724, allocations: 15.94 kB / 0.6231 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.005755, allocations: 13.72 kB / 0.6231 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.513e-05/0.00583, allocations: 326.8 kB / 0.6234 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.777e-05/0.005928, allocations: 59.92 kB / 0.6235 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.892e-05/0.006027, allocations: 81.56 kB / 0.6236 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.00621, allocations: 129.6 kB / 0.6237 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.006212, allocations: 0 / 0.6237 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003041/0.006517, allocations: 169.4 kB / 0.6239 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.00653, allocations: 12.05 kB / 0.6239 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.006535, allocations: 0 / 0.6239 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.006551, allocations: 0 / 0.6239 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.626e-05/0.006648, allocations: 23.97 kB / 0.6239 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.006652, allocations: 0 / 0.6239 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.553e-05/0.006698, allocations: 15.97 kB / 0.6239 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.006706, allocations: 8 kB / 0.6239 GB, free: 8.215 MB / 0.5886 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.051e-05/0.006776, allocations: 130.8 kB / 0.624 GB, free: 8.078 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.006799, allocations: 4 kB / 0.624 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.079e-05/0.006819, allocations: 15.58 kB / 0.6241 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.006822, allocations: 0 / 0.6241 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.006826, allocations: 0 / 0.6241 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.006829, allocations: 0 / 0.6241 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.006965, allocations: 149.3 kB / 0.6242 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.006966, allocations: 0 / 0.6242 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.627e-05/0.007022, allocations: 27.91 kB / 0.6242 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.007023, allocations: 0 / 0.6242 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.00703, allocations: 0 / 0.6242 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.007033, allocations: 4 kB / 0.6242 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.007034, allocations: 4 kB / 0.6242 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.007301, allocations: 330.6 kB / 0.6245 GB, free: 7.508 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.177e-06/0.007311, allocations: 11.89 kB / 0.6246 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.007322, allocations: 0 / 0.6246 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.665e-05/0.007398, allocations: 16.11 kB / 0.6246 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.4e-05/0.007462, allocations: 35.94 kB / 0.6246 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.007466, allocations: 4 kB / 0.6246 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.386e-05/0.00751, allocations: 103.5 kB / 0.6247 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.00751, allocations: 0 / 0.6247 GB, free: 7.34 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001696/0.007679, allocations: 12 kB / 0.6247 GB, free: 7.328 MB / 0.5886 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 8.244e-05/0.007762, allocations: 95.25 kB / 0.6248 GB, free: 7.223 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002426/0.008004, allocations: 139.9 kB / 0.6249 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.008006, allocations: 0 / 0.6249 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.008113, allocations: 83.83 kB / 0.625 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.008346, allocations: 11.94 kB / 0.625 GB, free: 6.992 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003216/0.008667, allocations: 215.3 kB / 0.6252 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.232e-05/0.00873, allocations: 91.5 kB / 0.6253 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.008768, allocations: 12.5 kB / 0.6253 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of SimCode: time 3.7e-07/0.008768, allocations: 0 / 0.6253 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of Templates: time 0.001844/0.01061, allocations: 1.236 MB / 0.6265 GB, free: 5.402 MB / 0.5886 GB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.901023221202195] Failed to read output from testmodel.py, exit status != 0: 0.016019768081605434 0.024767733 0.019859796000000002 Calling exit ...