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.0007846/0.0007846, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0008213/0.0008213, allocations: 207.8 kB / 23.01 MB, free: 3.121 MB / 13.93 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.8775/0.8775, allocations: 230.6 MB / 256.8 MB, free: 3.445 MB / 202.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-531:190: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-531:198: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.7188/0.7188, allocations: 203.8 MB / 0.5049 GB, free: 0.7227 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008597/0.0008597, allocations: 67.89 kB / 0.7195 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3706, allocations: 102 MB / 0.8191 GB, free: 25.24 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.00124/0.3718, allocations: 0.6564 MB / 0.8197 GB, free: 24.84 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006077/0.3724, allocations: 0.8741 MB / 0.8206 GB, free: 24.18 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.813e-05/0.3725, allocations: 0 / 0.8206 GB, free: 24.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 8.743e-05/0.3726, allocations: 8.141 kB / 0.8206 GB, free: 24.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.728e-05/0.3726, allocations: 11.59 kB / 0.8206 GB, free: 24.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 8.866e-05/0.3727, allocations: 20.91 kB / 0.8206 GB, free: 24.16 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.3728, allocations: 67.97 kB / 0.8207 GB, free: 24.14 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.373, allocations: 22.73 kB / 0.8207 GB, free: 24.13 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 5.932e-05/0.373, allocations: 36.83 kB / 0.8207 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.175e-05/0.3731, allocations: 48.12 kB / 0.8208 GB, free: 24.09 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.3731, allocations: 5.844 kB / 0.8208 GB, free: 24.09 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.271e-05/0.3731, allocations: 5.906 kB / 0.8208 GB, free: 24.09 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.991e-05/0.3732, allocations: 27.34 kB / 0.8208 GB, free: 24.08 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.833e-05/0.3732, allocations: 32.12 kB / 0.8209 GB, free: 24.06 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.3733, allocations: 93.52 kB / 0.8209 GB, free: 24.03 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.3733, allocations: 0 / 0.8209 GB, free: 24.03 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3733, allocations: 0.7812 kB / 0.8209 GB, free: 24.03 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.3733, allocations: 1.031 kB / 0.8209 GB, free: 24.03 MB / 0.6355 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.0003898/0.3737, allocations: 325 kB / 0.8213 GB, free: 23.74 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.3738, allocations: 11.45 kB / 0.8213 GB, free: 23.74 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.895e-05/0.3738, allocations: 9.422 kB / 0.8213 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.3739, allocations: 137.8 kB / 0.8214 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.3739, allocations: 9.031 kB / 0.8214 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.3739, allocations: 4.781 kB / 0.8214 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002486/0.3742, allocations: 162.5 kB / 0.8216 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.3742, allocations: 1.625 kB / 0.8216 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3742, allocations: 8.812 kB / 0.8216 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.3742, allocations: 2.656 kB / 0.8216 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002413/0.3745, allocations: 157.9 kB / 0.8217 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003452/0.3748, allocations: 412 kB / 0.8221 GB, free: 23.13 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.375, allocations: 115.9 kB / 0.8222 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.3751, allocations: 80.52 kB / 0.8223 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.3751, allocations: 5.922 kB / 0.8223 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.235e-05/0.3751, allocations: 31.72 kB / 0.8224 GB, free: 23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.3751, allocations: 4.25 kB / 0.8224 GB, free: 23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0004168/0.3755, allocations: 226.5 kB / 0.8226 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.3755, allocations: 82.86 kB / 0.8227 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.472e-05/0.3756, allocations: 134 kB / 0.8228 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.012e-06/0.3756, allocations: 25.7 kB / 0.8228 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.81e-05/0.3756, allocations: 97.69 kB / 0.8229 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.3756, allocations: 11.77 kB / 0.8229 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.3757, allocations: 22.52 kB / 0.8229 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.804e-05/0.3757, allocations: 319.5 kB / 0.8232 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.3758, allocations: 65.22 kB / 0.8233 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.3759, allocations: 75.91 kB / 0.8234 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.3761, allocations: 137.2 kB / 0.8235 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.3761, allocations: 1.125 kB / 0.8235 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002534/0.3764, allocations: 163.7 kB / 0.8237 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.3764, allocations: 9.562 kB / 0.8237 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3764, allocations: 0.5312 kB / 0.8237 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.3764, allocations: 5.938 kB / 0.8237 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.3765, allocations: 23.5 kB / 0.8237 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.3765, allocations: 4.594 kB / 0.8237 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.24e-05/0.3766, allocations: 15.25 kB / 0.8237 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.3766, allocations: 2.078 kB / 0.8237 GB, free: 22.12 MB / 0.6355 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 5.547e-05/0.3766, allocations: 135.4 kB / 0.8238 GB, free: 22 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.3767, allocations: 2.594 kB / 0.8238 GB, free: 22 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.808e-05/0.3767, allocations: 13.92 kB / 0.8239 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3767, allocations: 2.328 kB / 0.8239 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3767, allocations: 4.531 kB / 0.8239 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3767, allocations: 0.6875 kB / 0.8239 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.3768, allocations: 172 kB / 0.824 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3768, allocations: 0.5 kB / 0.824 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.449e-05/0.3769, allocations: 23.11 kB / 0.8241 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3769, allocations: 5.906 kB / 0.8241 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.3769, allocations: 1.734 kB / 0.8241 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3769, allocations: 0.7031 kB / 0.8241 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3769, allocations: 5.281 kB / 0.8241 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.3771, allocations: 335.2 kB / 0.8244 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.522e-06/0.3771, allocations: 6.641 kB / 0.8244 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.3772, allocations: 2.016 kB / 0.8244 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.828e-05/0.3772, allocations: 15.16 kB / 0.8244 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.155e-05/0.3773, allocations: 30.75 kB / 0.8244 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.3773, allocations: 3.047 kB / 0.8244 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.403e-05/0.3773, allocations: 96.89 kB / 0.8245 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.3773, allocations: 1 kB / 0.8245 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001704/0.3775, allocations: 16.03 kB / 0.8245 GB, free: 21.47 MB / 0.6355 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 5.509e-05/0.3776, allocations: 107.5 kB / 0.8247 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000247/0.3778, allocations: 138.2 kB / 0.8248 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.3778, allocations: 0 / 0.8248 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.3779, allocations: 84.31 kB / 0.8249 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.3781, allocations: 14.89 kB / 0.8249 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.3784, allocations: 225 kB / 0.8251 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.998e-05/0.3785, allocations: 0.701 MB / 0.8258 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.443e-05/0.3785, allocations: 16.3 kB / 0.8258 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of SimCode: time 3.61e-07/0.3785, allocations: 0 / 0.8258 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of Templates: time 0.001959/0.3805, allocations: 1.21 MB / 0.827 GB, free: 20.36 MB / 0.6355 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.421231011161581] Failed to read output from testmodel.py, exit status != 0: 0.38492996292188764 0.39238446099999996 0.017514597 Calling exit ...