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.0009097/0.0009097, 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.0009323/0.0009323, allocations: 165 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.094/1.094, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.856/0.856, allocations: 154.8 MB / 414.7 MB, free: 476 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 3.777e-06/3.777e-06, allocations: 0 / 0.5206 GB, free: 1.953 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.184e-05/4.562e-05, allocations: 4 kB / 0.5206 GB, free: 1.949 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002301/0.002347, allocations: 0.6402 MB / 0.5212 GB, free: 1.328 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.003682, allocations: 0.8438 MB / 0.522 GB, free: 484 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.013e-05/0.003752, allocations: 0 / 0.522 GB, free: 484 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.003881, allocations: 8.484 kB / 0.522 GB, free: 476 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.08e-05/0.003912, allocations: 4.562 kB / 0.522 GB, free: 472 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001511/0.004063, allocations: 4.844 kB / 0.522 GB, free: 468 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.538e-05/0.004158, allocations: 23.92 kB / 0.522 GB, free: 444 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.004274, allocations: 8.484 kB / 0.5221 GB, free: 436 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.435e-05/0.004359, allocations: 8 kB / 0.5221 GB, free: 428 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.414e-05/0.004423, allocations: 21.33 kB / 0.5221 GB, free: 408 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.004444, allocations: 4 kB / 0.5221 GB, free: 404 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.486e-06/0.004452, allocations: 0 / 0.5221 GB, free: 404 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.293e-05/0.004515, allocations: 11.97 kB / 0.5221 GB, free: 392 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.026e-05/0.004555, allocations: 8.938 kB / 0.5221 GB, free: 384 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.004681, allocations: 19.92 kB / 0.5221 GB, free: 364 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.004687, allocations: 1.406 kB / 0.5221 GB, free: 364 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.004689, allocations: 0 / 0.5221 GB, free: 364 kB / 490.7 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.004696, allocations: 0 / 0.5221 GB, free: 364 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.0005579/0.005254, allocations: 364.6 kB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/0.005311, allocations: 13.19 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.481e-05/0.005356, allocations: 0.9375 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.005528, allocations: 116.6 kB / 0.5226 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.005541, allocations: 5.094 kB / 0.5226 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.005558, allocations: 4.359 kB / 0.5226 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.00573, allocations: 60.23 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.005745, allocations: 4.125 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.005758, allocations: 384 / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.005768, allocations: 1.719 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.09e-05/0.005798, allocations: 7.938 kB / 0.5227 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.006194, allocations: 259.8 kB / 0.5229 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.319e-05/0.006267, allocations: 35.78 kB / 0.523 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.9e-05/0.006296, allocations: 9.531 kB / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.006305, allocations: 3.938 kB / 0.523 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.006331, allocations: 37.33 kB / 0.523 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.763e-06/0.006332, allocations: 4.062 kB / 0.523 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001656/0.006498, allocations: 35.66 kB / 0.523 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.006534, allocations: 51.41 kB / 0.5231 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.006636, allocations: 161.9 kB / 0.5233 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.006648, allocations: 33.64 kB / 0.5233 GB, free: 15 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.522e-05/0.006713, allocations: 138.8 kB / 0.5234 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.006733, allocations: 1.469 kB / 0.5234 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.006775, allocations: 19.38 kB / 0.5234 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.006931, allocations: 496.1 kB / 0.5239 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.835e-05/0.00695, allocations: 256 / 0.5239 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.27e-05/0.006962, allocations: 4.969 kB / 0.5239 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.007168, allocations: 15.69 kB / 0.5239 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.007171, allocations: 1.281 kB / 0.5239 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.346e-05/0.007255, allocations: 41.59 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.007272, allocations: 4 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.007278, allocations: 0.5938 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.007298, allocations: 0.5 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.074e-05/0.007389, allocations: 12.95 kB / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.007395, allocations: 0 / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.517e-05/0.00742, allocations: 4 kB / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.007426, allocations: 1.219 kB / 0.524 GB, free: 14.25 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 7.753e-05/0.007503, allocations: 152.6 kB / 0.5241 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.007531, allocations: 9.719 kB / 0.5241 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.116e-05/0.007562, allocations: 11.14 kB / 0.5242 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.007564, allocations: 0 / 0.5242 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.007569, allocations: 0 / 0.5242 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.007572, allocations: 0 / 0.5242 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.007709, allocations: 114.4 kB / 0.5243 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.007713, allocations: 4 kB / 0.5243 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.607e-05/0.007749, allocations: 7.984 kB / 0.5243 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.007752, allocations: 0 / 0.5243 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.007761, allocations: 7.938 kB / 0.5243 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.007762, allocations: 1.781 kB / 0.5243 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.007764, allocations: 0 / 0.5243 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.007896, allocations: 183.8 kB / 0.5245 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.115e-05/0.007907, allocations: 7.938 kB / 0.5245 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.007921, allocations: 6.375 kB / 0.5245 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.589e-05/0.007977, allocations: 4 kB / 0.5245 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.008025, allocations: 0 / 0.5245 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.008028, allocations: 0 / 0.5245 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.761e-05/0.008076, allocations: 131.2 kB / 0.5246 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.008076, allocations: 0 / 0.5246 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001437/0.008219, allocations: 4 kB / 0.5246 GB, free: 13.56 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 0.0001016/0.008321, allocations: 97.72 kB / 0.5247 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.354e-05/0.008405, allocations: 7.688 kB / 0.5247 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.008406, allocations: 4 kB / 0.5247 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.721e-05/0.008423, allocations: 8.719 kB / 0.5247 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.008636, allocations: 16.17 kB / 0.5247 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002855/0.008922, allocations: 123.1 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.792e-05/0.00897, allocations: 62.33 kB / 0.5249 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.073e-05/0.008991, allocations: 0 / 0.5249 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.932e-05/0.00902, allocations: 12.48 kB / 0.5249 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of SimCode: time 7.82e-07/0.009021, allocations: 0 / 0.5249 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.002352/0.01137, allocations: 458.1 kB / 0.5254 GB, free: 12.75 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.9857213380746543]