Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.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.001469/0.001469, allocations: 80.3 kB / 19.18 MB, free: 2.52 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.001659/0.001659, allocations: 161 kB / 22.45 MB, free: 5.375 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.495/1.495, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.2/1.2, allocations: 154.6 MB / 413.7 MB, free: 5.32 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.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.317e-06/3.317e-06, allocations: 0 / 0.6185 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/3.161e-05, allocations: 5.016 kB / 0.6185 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001726/0.001758, allocations: 0.6332 MB / 0.6191 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.002996, allocations: 0.8198 MB / 0.6199 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.618e-05/0.003042, allocations: 0 / 0.6199 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.003149, allocations: 7.938 kB / 0.6199 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.821e-05/0.003247, allocations: 7.875 kB / 0.62 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 6.246e-05/0.003309, allocations: 11.98 kB / 0.62 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.00343, allocations: 59.83 kB / 0.62 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.003546, allocations: 7.984 kB / 0.62 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.702e-05/0.003633, allocations: 39.91 kB / 0.6201 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.856e-05/0.003722, allocations: 27.97 kB / 0.6201 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.003742, allocations: 8 kB / 0.6201 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.327e-05/0.003756, allocations: 4 kB / 0.6201 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.14e-05/0.003807, allocations: 23.91 kB / 0.6201 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.854e-05/0.003845, allocations: 11.98 kB / 0.6201 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.003977, allocations: 71.78 kB / 0.6202 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.003979, allocations: 0 / 0.6202 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.01e-07/0.00398, allocations: 0 / 0.6202 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.003985, allocations: 0 / 0.6202 GB, free: 2.934 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005879/0.004572, allocations: 329.9 kB / 0.6205 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.00461, allocations: 13.47 kB / 0.6205 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.004647, allocations: 8.922 kB / 0.6205 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.004828, allocations: 125.7 kB / 0.6207 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.004842, allocations: 4.375 kB / 0.6207 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.004855, allocations: 4.375 kB / 0.6207 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004194/0.005275, allocations: 135.8 kB / 0.6208 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.005285, allocations: 4.188 kB / 0.6208 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.005295, allocations: 384 / 0.6208 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.005299, allocations: 384 / 0.6208 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003858/0.005685, allocations: 135.8 kB / 0.6209 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006206/0.006306, allocations: 364.6 kB / 0.6213 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.006546, allocations: 93.02 kB / 0.6214 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/0.006747, allocations: 69.7 kB / 0.6214 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.00676, allocations: 4 kB / 0.6214 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.006788, allocations: 30.56 kB / 0.6215 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.006789, allocations: 0 / 0.6215 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0006738/0.007463, allocations: 201.5 kB / 0.6217 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.007517, allocations: 77.11 kB / 0.6217 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.007625, allocations: 117.8 kB / 0.6219 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.007643, allocations: 25.7 kB / 0.6219 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.594e-05/0.007698, allocations: 96.08 kB / 0.622 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.007719, allocations: 7.953 kB / 0.622 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/0.007754, allocations: 9.719 kB / 0.622 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.007904, allocations: 322.8 kB / 0.6223 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.008086, allocations: 52 kB / 0.6223 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.008271, allocations: 73.58 kB / 0.6224 GB, free: 488 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.00863, allocations: 105.5 kB / 0.6225 GB, free: 376 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.008632, allocations: 64 / 0.6225 GB, free: 376 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004079/0.00904, allocations: 145.4 kB / 0.6227 GB, free: 224 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.009056, allocations: 7.984 kB / 0.6227 GB, free: 216 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.00906, allocations: 0 / 0.6227 GB, free: 216 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.009073, allocations: 0 / 0.6227 GB, free: 216 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.009197, allocations: 15.98 kB / 0.6227 GB, free: 200 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.009201, allocations: 4.062 kB / 0.6227 GB, free: 196 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.925e-05/0.0093, allocations: 27.92 kB / 0.6227 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.423e-06/0.009307, allocations: 0 / 0.6227 GB, free: 168 kB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001023/0.009409, allocations: 126.8 kB / 0.6228 GB, free: 32 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.009449, allocations: 4 kB / 0.6228 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.929e-05/0.009478, allocations: 11.42 kB / 0.6228 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.009483, allocations: 7.984 kB / 0.6229 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.009487, allocations: 0 / 0.6229 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-05/0.009508, allocations: 64 / 0.6229 GB, free: 16 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.009712, allocations: 125.2 kB / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.009713, allocations: 4 kB / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.009819, allocations: 19.97 kB / 0.623 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.00982, allocations: 3.938 kB / 0.623 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.00983, allocations: 4 kB / 0.623 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.009831, allocations: 0 / 0.623 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.009832, allocations: 384 / 0.623 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004817/0.01031, allocations: 310.6 kB / 0.6233 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.488e-05/0.01033, allocations: 7.984 kB / 0.6233 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.01034, allocations: 0 / 0.6233 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.01049, allocations: 19.86 kB / 0.6233 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.01054, allocations: 11.98 kB / 0.6233 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.01055, allocations: 0 / 0.6233 GB, free: 15.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.34e-05/0.01061, allocations: 95.27 kB / 0.6234 GB, free: 15.36 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01061, allocations: 3.938 kB / 0.6234 GB, free: 15.36 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002549/0.01087, allocations: 11.95 kB / 0.6234 GB, free: 15.35 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001133/0.01098, allocations: 103.3 kB / 0.6235 GB, free: 15.24 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004119/0.01139, allocations: 107.9 kB / 0.6236 GB, free: 15.13 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.01139, allocations: 0 / 0.6236 GB, free: 15.13 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.0116, allocations: 68.05 kB / 0.6237 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.01193, allocations: 22 kB / 0.6237 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003891/0.01232, allocations: 169.5 kB / 0.6239 GB, free: 14.85 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.563e-05/0.01241, allocations: 79.33 kB / 0.624 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.335e-05/0.01246, allocations: 11.98 kB / 0.624 GB, free: 14.74 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.941e-05/0.0125, allocations: 12.5 kB / 0.624 GB, free: 14.73 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.0125, allocations: 0 / 0.624 GB, free: 14.73 MB / 0.545 GB Notification: Performance of Templates: time 0.003284/0.01578, allocations: 0.8442 MB / 0.6248 GB, free: 13.9 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.813287116587162] Failed to read output from testmodel.py, exit status != 0: 0.024245772510766983 0.039166442 0.03211157 Calling exit ...