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.0009457/0.0009457, allocations: 93.06 kB / 19.65 MB, free: 284 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.001606/0.001606, allocations: 169 kB / 23.02 MB, free: 1.551 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 1.018/1.018, allocations: 177.1 MB / 203.4 MB, free: 5.652 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-535:34: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-535:42: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.7934/0.7934, allocations: 154.9 MB / 414.8 MB, free: 408 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.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 1.533e-06/1.533e-06, allocations: 0 / 0.5207 GB, free: 1.871 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.617e-05/1.77e-05, allocations: 7.359 kB / 0.5207 GB, free: 1.867 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001265/0.001283, allocations: 0.6528 MB / 0.5213 GB, free: 1.234 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000969/0.002252, allocations: 0.8405 MB / 0.5221 GB, free: 392 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.247e-05/0.002315, allocations: 6.625 kB / 0.5221 GB, free: 388 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.002452, allocations: 0 / 0.5221 GB, free: 388 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.00259, allocations: 11.88 kB / 0.5221 GB, free: 376 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.925e-05/0.002659, allocations: 7.984 kB / 0.5222 GB, free: 368 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.002784, allocations: 61.45 kB / 0.5222 GB, free: 308 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.00291, allocations: 15.98 kB / 0.5222 GB, free: 292 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.025e-05/0.00298, allocations: 31.91 kB / 0.5223 GB, free: 260 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.922e-05/0.00306, allocations: 27.97 kB / 0.5223 GB, free: 232 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.003081, allocations: 4 kB / 0.5223 GB, free: 228 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-06/0.00309, allocations: 5.281 kB / 0.5223 GB, free: 224 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.545e-05/0.003136, allocations: 19.92 kB / 0.5223 GB, free: 204 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.9e-05/0.003175, allocations: 23.91 kB / 0.5223 GB, free: 180 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.003277, allocations: 52.45 kB / 0.5224 GB, free: 128 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.00328, allocations: 0 / 0.5224 GB, free: 128 kB / 490.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.00328, allocations: 0.75 kB / 0.5224 GB, free: 128 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.003284, allocations: 0 / 0.5224 GB, free: 128 kB / 490.7 MB 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.0004651/0.003749, allocations: 405.9 kB / 0.5228 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.003795, allocations: 12.03 kB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.607e-05/0.003841, allocations: 8.891 kB / 0.5228 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.004, allocations: 133.6 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.00401, allocations: 4.375 kB / 0.5229 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.004026, allocations: 8.375 kB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.004232, allocations: 109.8 kB / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.00424, allocations: 192 / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.00425, allocations: 384 / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.004259, allocations: 384 / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.215e-05/0.004301, allocations: 19.92 kB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.004755, allocations: 446.6 kB / 0.5235 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.329e-05/0.004828, allocations: 58 kB / 0.5235 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.792e-05/0.004866, allocations: 20.06 kB / 0.5236 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.004877, allocations: 4.547 kB / 0.5236 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.004905, allocations: 37.39 kB / 0.5236 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/0.004907, allocations: 0.9688 kB / 0.5236 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001787/0.005086, allocations: 43.11 kB / 0.5236 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.005129, allocations: 77.11 kB / 0.5237 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.873e-05/0.005227, allocations: 185.9 kB / 0.5239 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.005241, allocations: 25.7 kB / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.798e-05/0.005309, allocations: 151.3 kB / 0.5241 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.005331, allocations: 4.609 kB / 0.5241 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.005363, allocations: 23.38 kB / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.005509, allocations: 0.4942 MB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.947e-05/0.005528, allocations: 0 / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.68e-05/0.005555, allocations: 23.31 kB / 0.5246 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.759e-05/0.005593, allocations: 19.94 kB / 0.5246 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.005596, allocations: 3.938 kB / 0.5246 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.31e-05/0.005669, allocations: 58.38 kB / 0.5247 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.005683, allocations: 5.438 kB / 0.5247 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.005688, allocations: 0 / 0.5247 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.005701, allocations: 0 / 0.5247 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.285e-05/0.005784, allocations: 12.77 kB / 0.5247 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.005789, allocations: 0 / 0.5247 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.88e-05/0.005818, allocations: 17.98 kB / 0.5247 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.005823, allocations: 0 / 0.5247 GB, free: 13.51 MB / 0.4948 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 7.078e-05/0.005894, allocations: 164.5 kB / 0.5249 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.005917, allocations: 0 / 0.5249 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.238e-05/0.00594, allocations: 7.469 kB / 0.5249 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.005942, allocations: 2.75 kB / 0.5249 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.005945, allocations: 0 / 0.5249 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.005949, allocations: 3.984 kB / 0.5249 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.006078, allocations: 136.6 kB / 0.525 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.006081, allocations: 3.938 kB / 0.525 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.022e-05/0.006111, allocations: 15.92 kB / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.006112, allocations: 0 / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.006119, allocations: 1.656 kB / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.00612, allocations: 0 / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.006122, allocations: 4 kB / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.006334, allocations: 307.1 kB / 0.5253 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.717e-06/0.006343, allocations: 8.875 kB / 0.5253 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.006354, allocations: 0 / 0.5253 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.726e-05/0.006411, allocations: 12.89 kB / 0.5253 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.006459, allocations: 7.984 kB / 0.5253 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.006462, allocations: 0.875 kB / 0.5254 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.81e-05/0.00651, allocations: 143 kB / 0.5255 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.00651, allocations: 0 / 0.5255 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001678/0.006678, allocations: 12.61 kB / 0.5255 GB, free: 12.64 MB / 0.4948 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 7.401e-05/0.006752, allocations: 99.94 kB / 0.5256 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.815e-05/0.00684, allocations: 14.56 kB / 0.5256 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.006842, allocations: 0 / 0.5256 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.159e-05/0.006863, allocations: 19.61 kB / 0.5256 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.007094, allocations: 18.12 kB / 0.5256 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000359/0.007453, allocations: 171.8 kB / 0.5258 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.744e-05/0.0075, allocations: 71.33 kB / 0.5259 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.932e-05/0.00753, allocations: 7.984 kB / 0.5259 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.007563, allocations: 8.5 kB / 0.5259 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of SimCode: time 7.11e-07/0.007564, allocations: 5.812 kB / 0.5259 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of Templates: time 0.002555/0.01012, allocations: 0.8832 MB / 0.5268 GB, free: 11.32 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.741958632133901]