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.001317/0.001317, allocations: 79.97 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001487/0.001487, allocations: 165.9 kB / 22.45 MB, free: 5.371 MB / 14.72 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.4/1.4, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 1.173/1.173, allocations: 154.7 MB / 413.9 MB, free: 5.176 MB / 382.1 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 178] 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.375e-06/2.375e-06, allocations: 0 / 0.6187 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/3.138e-05, allocations: 6.219 kB / 0.6187 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002434/0.002466, allocations: 0.6631 MB / 0.6194 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001742/0.004208, allocations: 0.847 MB / 0.6202 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.534e-05/0.004263, allocations: 0 / 0.6202 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.004378, allocations: 11.92 kB / 0.6202 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.004488, allocations: 7.938 kB / 0.6202 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001571/0.004645, allocations: 19.91 kB / 0.6203 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.004828, allocations: 75.88 kB / 0.6203 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.004985, allocations: 19.92 kB / 0.6203 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.005126, allocations: 47.95 kB / 0.6204 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.005277, allocations: 47.83 kB / 0.6204 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.221e-05/0.005319, allocations: 8 kB / 0.6204 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.059e-05/0.005339, allocations: 4 kB / 0.6204 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.78e-05/0.005417, allocations: 27.91 kB / 0.6205 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.563e-05/0.005473, allocations: 16 kB / 0.6205 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.0057, allocations: 99.7 kB / 0.6206 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.005703, allocations: 0 / 0.6206 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.21e-07/0.005704, allocations: 0 / 0.6206 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.005709, allocations: 0 / 0.6206 GB, free: 2.664 MB / 0.5294 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.0009049/0.006614, allocations: 334 kB / 0.6209 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.006658, allocations: 8.031 kB / 0.6209 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.187e-05/0.00672, allocations: 12.88 kB / 0.6209 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.006992, allocations: 137.6 kB / 0.6211 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.007026, allocations: 8.375 kB / 0.6211 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.345e-05/0.007059, allocations: 8.375 kB / 0.6211 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000637/0.007696, allocations: 159.8 kB / 0.6212 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.007707, allocations: 192 / 0.6212 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.007725, allocations: 384 / 0.6212 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.007732, allocations: 4.375 kB / 0.6212 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008304/0.008562, allocations: 159.7 kB / 0.6214 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008847/0.009447, allocations: 384.3 kB / 0.6217 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005501/0.009997, allocations: 113.1 kB / 0.6219 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004159/0.01041, allocations: 77.69 kB / 0.6219 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.01044, allocations: 3.938 kB / 0.6219 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/0.01048, allocations: 34.56 kB / 0.622 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.804e-06/0.01048, allocations: 0 / 0.622 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.001435/0.01192, allocations: 233.4 kB / 0.6222 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.702e-05/0.012, allocations: 81.11 kB / 0.6223 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.01223, allocations: 117.8 kB / 0.6224 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.01226, allocations: 25.7 kB / 0.6224 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.675e-05/0.01236, allocations: 100 kB / 0.6225 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/0.0124, allocations: 11.91 kB / 0.6225 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.944e-05/0.01248, allocations: 25.7 kB / 0.6225 GB, free: 492 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001979/0.01268, allocations: 318.8 kB / 0.6228 GB, free: 164 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003529/0.01303, allocations: 68.06 kB / 0.6229 GB, free: 96 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003879/0.01342, allocations: 77.62 kB / 0.623 GB, free: 12 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007485/0.01417, allocations: 133.5 kB / 0.6231 GB, free: 15.88 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.01417, allocations: 4 kB / 0.6231 GB, free: 15.87 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0008661/0.01503, allocations: 157.5 kB / 0.6233 GB, free: 15.71 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.01506, allocations: 8 kB / 0.6233 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.01506, allocations: 3.938 kB / 0.6233 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.01508, allocations: 0 / 0.6233 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002996/0.01538, allocations: 28.03 kB / 0.6233 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.01539, allocations: 11.97 kB / 0.6233 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.01556, allocations: 11.98 kB / 0.6233 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.01557, allocations: 4 kB / 0.6233 GB, free: 15.64 MB / 0.545 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.0001804/0.01575, allocations: 131.8 kB / 0.6234 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.131e-05/0.01584, allocations: 4 kB / 0.6235 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.454e-05/0.01588, allocations: 11.62 kB / 0.6235 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.01588, allocations: 0 / 0.6235 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.01589, allocations: 0 / 0.6235 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.01589, allocations: 0 / 0.6235 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003636/0.01626, allocations: 141.6 kB / 0.6236 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.01626, allocations: 0 / 0.6236 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002673/0.01652, allocations: 31.95 kB / 0.6236 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.01653, allocations: 0 / 0.6236 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.01654, allocations: 3.938 kB / 0.6236 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.01654, allocations: 3.938 kB / 0.6236 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.874e-06/0.01655, allocations: 7.938 kB / 0.6236 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009518/0.0175, allocations: 330.6 kB / 0.624 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.053e-05/0.01752, allocations: 11.89 kB / 0.624 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.01755, allocations: 4 kB / 0.624 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003163/0.01787, allocations: 19.97 kB / 0.624 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.01799, allocations: 23.97 kB / 0.624 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.018, allocations: 0 / 0.624 GB, free: 14.88 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001031/0.0181, allocations: 99.25 kB / 0.6241 GB, free: 14.78 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.81e-07/0.0181, allocations: 0 / 0.6241 GB, free: 14.78 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005032/0.01861, allocations: 12 kB / 0.6241 GB, free: 14.77 MB / 0.545 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.0002165/0.01882, allocations: 107.2 kB / 0.6242 GB, free: 14.65 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008519/0.01967, allocations: 131.8 kB / 0.6243 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.01968, allocations: 0 / 0.6243 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004714/0.02015, allocations: 96.02 kB / 0.6244 GB, free: 14.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005713/0.02072, allocations: 7.938 kB / 0.6244 GB, free: 14.42 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007002/0.02142, allocations: 193.5 kB / 0.6246 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.02156, allocations: 83.31 kB / 0.6247 GB, free: 14.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001154/0.02167, allocations: 24.05 kB / 0.6247 GB, free: 14.08 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.48e-05/0.02175, allocations: 20.48 kB / 0.6248 GB, free: 14.06 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.02175, allocations: 0 / 0.6248 GB, free: 14.06 MB / 0.545 GB Notification: Performance of Templates: time 0.006517/0.02827, allocations: 1.324 MB / 0.626 GB, free: 12.76 MB / 0.545 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: 5.63305932842195] Failed to read output from testmodel.py, exit status != 0: 0.040610091760754585 0.066038214 0.055242576 Calling exit ...