Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.001017/0.001017, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009784/0.0009784, allocations: 169.3 kB / 23.02 MB, free: 1.547 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.008/1.008, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.8043/0.8043, allocations: 154.9 MB / 414.8 MB, free: 412 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.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 0.5207 GB, free: 1.82 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.345e-05/1.493e-05, allocations: 6.031 kB / 0.5207 GB, free: 1.816 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001126/0.001141, allocations: 0.6441 MB / 0.5213 GB, free: 1.191 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007324/0.001873, allocations: 0.8399 MB / 0.5221 GB, free: 348 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.106e-05/0.001914, allocations: 1.219 kB / 0.5221 GB, free: 348 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.288e-05/0.002007, allocations: 4.812 kB / 0.5221 GB, free: 344 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.547e-05/0.002033, allocations: 7.938 kB / 0.5221 GB, free: 336 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001061/0.002139, allocations: 8.609 kB / 0.5222 GB, free: 328 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.807e-05/0.002207, allocations: 29.72 kB / 0.5222 GB, free: 300 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.847e-05/0.002285, allocations: 4 kB / 0.5222 GB, free: 296 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.133e-05/0.002337, allocations: 11.98 kB / 0.5222 GB, free: 284 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.285e-05/0.00238, allocations: 8 kB / 0.5222 GB, free: 276 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.002397, allocations: 4 kB / 0.5222 GB, free: 272 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.78e-06/0.002403, allocations: 5.469 kB / 0.5222 GB, free: 268 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.643e-05/0.00245, allocations: 7.984 kB / 0.5222 GB, free: 260 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/0.002474, allocations: 8 kB / 0.5222 GB, free: 252 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.411e-05/0.002549, allocations: 23.89 kB / 0.5222 GB, free: 228 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.002551, allocations: 1.281 kB / 0.5222 GB, free: 228 kB / 490.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.002551, allocations: 3.938 kB / 0.5223 GB, free: 224 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.002554, allocations: 0 / 0.5223 GB, free: 224 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003316/0.002886, allocations: 365.2 kB / 0.5226 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.002922, allocations: 12.03 kB / 0.5226 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/0.002955, allocations: 1.625 kB / 0.5226 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.003064, allocations: 116.6 kB / 0.5227 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.003075, allocations: 9.719 kB / 0.5227 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.003086, allocations: 384 / 0.5227 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.003195, allocations: 58.95 kB / 0.5228 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.003202, allocations: 1.188 kB / 0.5228 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.607e-06/0.003211, allocations: 384 / 0.5228 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.003218, allocations: 384 / 0.5228 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.336e-05/0.003242, allocations: 19.39 kB / 0.5228 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00025/0.003492, allocations: 255.9 kB / 0.5231 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.12e-05/0.003533, allocations: 27.06 kB / 0.5231 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.913e-05/0.003552, allocations: 11.69 kB / 0.5231 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-06/0.003559, allocations: 0 / 0.5231 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002734/0.003832, allocations: 41.33 kB / 0.5231 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.003833, allocations: 4 kB / 0.5231 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001108/0.003944, allocations: 30.27 kB / 0.5232 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.003971, allocations: 55.39 kB / 0.5232 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.264e-05/0.004033, allocations: 158.5 kB / 0.5234 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.004047, allocations: 30.27 kB / 0.5234 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.032e-05/0.004087, allocations: 138.8 kB / 0.5235 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.298e-05/0.0041, allocations: 4.969 kB / 0.5235 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/0.004124, allocations: 19.38 kB / 0.5236 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.445e-05/0.004219, allocations: 497.5 kB / 0.524 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.058e-05/0.004229, allocations: 256 / 0.524 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.505e-06/0.004237, allocations: 4 kB / 0.524 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.056e-05/0.004257, allocations: 16.34 kB / 0.524 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.004259, allocations: 0 / 0.524 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.481e-05/0.004304, allocations: 50.14 kB / 0.5241 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.004315, allocations: 5.969 kB / 0.5241 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.004318, allocations: 0 / 0.5241 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.00433, allocations: 3.984 kB / 0.5241 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.312e-05/0.004384, allocations: 4 kB / 0.5241 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.004387, allocations: 0 / 0.5241 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.526e-05/0.004403, allocations: 4.5 kB / 0.5241 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.004407, allocations: 0.7188 kB / 0.5241 GB, free: 14.12 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 4.979e-05/0.004457, allocations: 156.6 kB / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.004471, allocations: 8.5 kB / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.687e-05/0.004487, allocations: 8.531 kB / 0.5243 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.004489, allocations: 0 / 0.5243 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.004491, allocations: 0 / 0.5243 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.004493, allocations: 0 / 0.5243 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.078e-05/0.004574, allocations: 118.5 kB / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.004575, allocations: 4 kB / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.226e-05/0.004588, allocations: 0 / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.41e-07/0.004588, allocations: 0 / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.004595, allocations: 7.938 kB / 0.5244 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.004596, allocations: 2.75 kB / 0.5244 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.004597, allocations: 0 / 0.5244 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.679e-05/0.004674, allocations: 183.9 kB / 0.5246 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-06/0.004679, allocations: 3.953 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.397e-06/0.004689, allocations: 3.938 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.738e-05/0.004716, allocations: 4 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.004746, allocations: 3.984 kB / 0.5246 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.004748, allocations: 1.781 kB / 0.5246 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.091e-05/0.004779, allocations: 131.1 kB / 0.5247 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.004779, allocations: 0 / 0.5247 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001303/0.004909, allocations: 4 kB / 0.5247 GB, free: 13.43 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 6.505e-05/0.004974, allocations: 96.19 kB / 0.5248 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.928e-05/0.005043, allocations: 20.39 kB / 0.5248 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.005044, allocations: 0 / 0.5248 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-05/0.005058, allocations: 8.344 kB / 0.5248 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.005237, allocations: 8.75 kB / 0.5249 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000245/0.005482, allocations: 125.2 kB / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.592e-05/0.005518, allocations: 59.34 kB / 0.525 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.024e-05/0.005538, allocations: 3.938 kB / 0.525 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.478e-05/0.005563, allocations: 8.5 kB / 0.525 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of SimCode: time 3.81e-07/0.005563, allocations: 0 / 0.525 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of Templates: time 0.001924/0.007486, allocations: 490.1 kB / 0.5255 GB, free: 12.59 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5720745800063014]