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.0007753/0.0007753, allocations: 76.45 kB / 19.91 MB, free: 12 kB / 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.000913/0.000913, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.9134/0.9134, allocations: 177.2 MB / 203.6 MB, free: 5.781 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-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.7048/0.7048, allocations: 155 MB / 415 MB, free: 468 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: 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.0009824/0.0009824, allocations: 67.89 kB / 0.6199 GB, free: 12.61 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4772/0.4781, allocations: 102 MB / 0.7195 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001295/0.4794, allocations: 0.6573 MB / 0.7201 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007228/0.4802, allocations: 0.8545 MB / 0.721 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.916e-05/0.4802, allocations: 1.25 kB / 0.721 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 9.508e-05/0.4803, allocations: 7.156 kB / 0.721 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.571e-05/0.4804, allocations: 15.69 kB / 0.721 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001101/0.4805, allocations: 19.45 kB / 0.721 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.4806, allocations: 75.39 kB / 0.7211 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.4807, allocations: 20.22 kB / 0.7211 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.561e-05/0.4808, allocations: 46.72 kB / 0.7211 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.008e-05/0.4809, allocations: 42.58 kB / 0.7212 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.4809, allocations: 4.906 kB / 0.7212 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.26e-05/0.4809, allocations: 6.75 kB / 0.7212 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.156e-05/0.481, allocations: 26.89 kB / 0.7212 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.698e-05/0.481, allocations: 27.67 kB / 0.7212 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.4812, allocations: 113.6 kB / 0.7213 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4812, allocations: 3.938 kB / 0.7213 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.304e-06/0.4812, allocations: 1.531 kB / 0.7213 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.4812, allocations: 0.6562 kB / 0.7213 GB, free: 22.28 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.0004391/0.4816, allocations: 330.4 kB / 0.7217 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4817, allocations: 10.97 kB / 0.7217 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.4817, allocations: 9.953 kB / 0.7217 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.4818, allocations: 134.7 kB / 0.7218 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.4818, allocations: 11.72 kB / 0.7218 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.4819, allocations: 7.844 kB / 0.7218 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.4821, allocations: 158.7 kB / 0.722 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.4821, allocations: 192 / 0.722 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.4821, allocations: 4.875 kB / 0.722 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.4821, allocations: 9.078 kB / 0.722 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002639/0.4824, allocations: 156.2 kB / 0.7221 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003471/0.4828, allocations: 372.6 kB / 0.7225 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.4829, allocations: 114.3 kB / 0.7226 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.483, allocations: 74.56 kB / 0.7227 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.4831, allocations: 1.5 kB / 0.7227 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.4831, allocations: 41.66 kB / 0.7227 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.4831, allocations: 4 kB / 0.7227 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0004394/0.4835, allocations: 222.7 kB / 0.7229 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.4835, allocations: 82.89 kB / 0.723 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.096e-05/0.4836, allocations: 125 kB / 0.7231 GB, free: 21 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.4836, allocations: 31.67 kB / 0.7232 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.08e-05/0.4837, allocations: 97.44 kB / 0.7233 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.4837, allocations: 16.3 kB / 0.7233 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.4837, allocations: 21.62 kB / 0.7233 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.973e-05/0.4837, allocations: 319.2 kB / 0.7236 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.4838, allocations: 63 kB / 0.7237 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.484, allocations: 80.31 kB / 0.7237 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.4842, allocations: 134.7 kB / 0.7239 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4842, allocations: 0 / 0.7239 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000252/0.4844, allocations: 167.9 kB / 0.724 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.4844, allocations: 6.266 kB / 0.724 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4844, allocations: 0 / 0.724 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.4845, allocations: 1.125 kB / 0.724 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.4846, allocations: 23.02 kB / 0.7241 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.4846, allocations: 5.25 kB / 0.7241 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.417e-05/0.4846, allocations: 20.41 kB / 0.7241 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.4846, allocations: 1.312 kB / 0.7241 GB, free: 20.39 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 6.058e-05/0.4847, allocations: 131.5 kB / 0.7242 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.4847, allocations: 6.5 kB / 0.7242 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.983e-05/0.4847, allocations: 14.69 kB / 0.7242 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.4847, allocations: 1.984 kB / 0.7242 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4847, allocations: 1.094 kB / 0.7242 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4847, allocations: 5 kB / 0.7242 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.4849, allocations: 133.5 kB / 0.7244 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4849, allocations: 0 / 0.7244 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.738e-05/0.4849, allocations: 23.06 kB / 0.7244 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4849, allocations: 1.609 kB / 0.7244 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.4849, allocations: 5.578 kB / 0.7244 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.485, allocations: 0.5156 kB / 0.7244 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.485, allocations: 1.125 kB / 0.7244 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.4852, allocations: 340 kB / 0.7247 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.847e-06/0.4852, allocations: 8.125 kB / 0.7247 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.4852, allocations: 1.125 kB / 0.7247 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.522e-05/0.4853, allocations: 19.89 kB / 0.7247 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.095e-05/0.4854, allocations: 26.2 kB / 0.7248 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.4854, allocations: 6.922 kB / 0.7248 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.59e-05/0.4854, allocations: 98.73 kB / 0.7249 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4854, allocations: 0 / 0.7249 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001874/0.4856, allocations: 15.38 kB / 0.7249 GB, free: 19.77 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 8.331e-05/0.4857, allocations: 96.56 kB / 0.725 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002959/0.486, allocations: 145.4 kB / 0.7251 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.486, allocations: 1.5 kB / 0.7251 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.4861, allocations: 75.03 kB / 0.7252 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.4864, allocations: 16.14 kB / 0.7252 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.4867, allocations: 226.3 kB / 0.7254 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.137e-05/0.4868, allocations: 93.48 kB / 0.7255 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.125e-05/0.4868, allocations: 15.31 kB / 0.7255 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of SimCode: time 5.41e-07/0.4868, allocations: 0 / 0.7255 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of Templates: time 0.002262/0.4891, allocations: 1.236 MB / 0.7267 GB, free: 19.29 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.544431664980948] Failed to read output from testmodel.py, exit status != 0: 0.49447950697503984 0.502233034 0.019415441000000002 Calling exit ...