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.001525/0.001525, allocations: 75.25 kB / 19.16 MB, free: 2.566 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.001704/0.001704, allocations: 169.8 kB / 22.44 MB, free: 5.301 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.391/1.391, allocations: 177.2 MB / 202.8 MB, free: 9.207 MB / 190.1 MB " [Timeout remaining time 178] 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 1.169/1.169, allocations: 155 MB / 414.2 MB, free: 4.953 MB / 382.1 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 178] 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.002113/0.002113, allocations: 71.02 kB / 0.6191 GB, free: 4.168 MB / 0.5294 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.5502/0.5523, allocations: 102 MB / 0.7187 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001664/0.5539, allocations: 0.6709 MB / 0.7194 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007692/0.5547, allocations: 0.8548 MB / 0.7202 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.016e-05/0.5547, allocations: 5.094 kB / 0.7202 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.049e-05/0.5548, allocations: 2.016 kB / 0.7202 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.907e-05/0.5549, allocations: 12.02 kB / 0.7202 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001131/0.5551, allocations: 24.61 kB / 0.7202 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.5552, allocations: 67.52 kB / 0.7203 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.5553, allocations: 23.77 kB / 0.7203 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.517e-05/0.5554, allocations: 54.27 kB / 0.7204 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.87e-05/0.5555, allocations: 42.42 kB / 0.7204 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.5555, allocations: 5.531 kB / 0.7204 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.565e-05/0.5555, allocations: 5.969 kB / 0.7204 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.265e-05/0.5556, allocations: 28.11 kB / 0.7205 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.359e-05/0.5556, allocations: 31.88 kB / 0.7205 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.5558, allocations: 98.23 kB / 0.7206 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.5558, allocations: 1.078 kB / 0.7206 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5558, allocations: 0 / 0.7206 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.5558, allocations: 0 / 0.7206 GB, free: 0.5391 MB / 0.6075 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.000523/0.5563, allocations: 334.9 kB / 0.7209 GB, free: 244 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.5563, allocations: 9.906 kB / 0.7209 GB, free: 244 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.5564, allocations: 8.922 kB / 0.7209 GB, free: 240 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.5565, allocations: 138.5 kB / 0.7211 GB, free: 96 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.5566, allocations: 8.188 kB / 0.7211 GB, free: 92 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.5566, allocations: 9.234 kB / 0.7211 GB, free: 88 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003551/0.5569, allocations: 156.6 kB / 0.7212 GB, free: 16 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.5569, allocations: 4.188 kB / 0.7212 GB, free: 12 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.557, allocations: 5.219 kB / 0.7212 GB, free: 8 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.557, allocations: 1.875 kB / 0.7212 GB, free: 8 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004615/0.5574, allocations: 152.2 kB / 0.7214 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005462/0.558, allocations: 380.1 kB / 0.7217 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/0.5583, allocations: 114.7 kB / 0.7219 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/0.5585, allocations: 77.69 kB / 0.7219 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.5585, allocations: 1.219 kB / 0.7219 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.5585, allocations: 37.56 kB / 0.722 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.5585, allocations: 0 / 0.722 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of matching and sorting (n=4): time 0.0007576/0.5593, allocations: 231.3 kB / 0.7222 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.5593, allocations: 79.61 kB / 0.7223 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.5595, allocations: 120.3 kB / 0.7224 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.5595, allocations: 26.83 kB / 0.7224 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.5595, allocations: 98.84 kB / 0.7225 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.5596, allocations: 17.88 kB / 0.7225 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/0.5596, allocations: 25.25 kB / 0.7225 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.5597, allocations: 321.2 kB / 0.7228 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.5599, allocations: 64.47 kB / 0.7229 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.5601, allocations: 83.08 kB / 0.723 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003842/0.5605, allocations: 129.9 kB / 0.7231 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5605, allocations: 0.9844 kB / 0.7231 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004387/0.561, allocations: 163.6 kB / 0.7233 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.561, allocations: 6.266 kB / 0.7233 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.561, allocations: 0 / 0.7233 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.561, allocations: 1.25 kB / 0.7233 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.5612, allocations: 31.23 kB / 0.7233 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.5612, allocations: 5.062 kB / 0.7233 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.5613, allocations: 19.33 kB / 0.7233 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.5613, allocations: 2.781 kB / 0.7233 GB, free: 14.64 MB / 0.6231 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.0001076/0.5614, allocations: 126.7 kB / 0.7234 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.389e-05/0.5614, allocations: 3.344 kB / 0.7235 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.808e-05/0.5615, allocations: 14.94 kB / 0.7235 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.5615, allocations: 1.062 kB / 0.7235 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5615, allocations: 5.75 kB / 0.7235 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.5615, allocations: 3.938 kB / 0.7235 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.5617, allocations: 129.3 kB / 0.7236 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.5617, allocations: 1.641 kB / 0.7236 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.5618, allocations: 26.06 kB / 0.7236 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.5618, allocations: 1.875 kB / 0.7236 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.5619, allocations: 5 kB / 0.7236 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.5619, allocations: 9.531 kB / 0.7236 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.5619, allocations: 1.156 kB / 0.7236 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005291/0.5624, allocations: 339.3 kB / 0.724 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.144e-05/0.5624, allocations: 6.938 kB / 0.724 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.5624, allocations: 1.609 kB / 0.724 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.5626, allocations: 17.16 kB / 0.724 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.879e-05/0.5627, allocations: 22.02 kB / 0.724 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.5627, allocations: 2.891 kB / 0.724 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.177e-05/0.5627, allocations: 106.4 kB / 0.7241 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.5627, allocations: 0 / 0.7241 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00028/0.563, allocations: 15.66 kB / 0.7241 GB, free: 14.02 MB / 0.6231 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.0001161/0.5631, allocations: 99.84 kB / 0.7242 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005198/0.5636, allocations: 134.3 kB / 0.7244 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5637, allocations: 4.125 kB / 0.7244 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002858/0.5639, allocations: 91.44 kB / 0.7244 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.5643, allocations: 12.31 kB / 0.7245 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004798/0.5647, allocations: 199.7 kB / 0.7246 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.5649, allocations: 94.56 kB / 0.7247 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.694e-05/0.5649, allocations: 21.77 kB / 0.7248 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.893e-05/0.565, allocations: 14.92 kB / 0.7248 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of SimCode: time 2.71e-07/0.565, allocations: 0.9062 kB / 0.7248 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of Templates: time 0.003947/0.5689, allocations: 1.334 MB / 0.7261 GB, free: 13.5 MB / 0.6231 GB " [Timeout remaining time 659] 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: 6.133770080283284] Failed to read output from testmodel.py, exit status != 0: 0.5769350025802851 0.591015504 0.032244198 Calling exit ...