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.0009767/0.0009767, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001071/0.001071, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 0.9482/0.9482, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.7864/0.7864, allocations: 154.9 MB / 415.9 MB, free: 244 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.483e-06/1.483e-06, allocations: 0 / 0.5219 GB, free: 1.516 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.372e-05/1.52e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001199/0.001214, allocations: 0.6318 MB / 0.5225 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008024/0.002017, allocations: 0.844 MB / 0.5233 GB, free: 48 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.779e-05/0.002065, allocations: 1 kB / 0.5233 GB, free: 48 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.198e-05/0.002157, allocations: 0 / 0.5233 GB, free: 48 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.632e-05/0.002183, allocations: 13.89 kB / 0.5233 GB, free: 36 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.074e-05/0.002274, allocations: 9.734 kB / 0.5234 GB, free: 28 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.426e-05/0.002338, allocations: 23.92 kB / 0.5234 GB, free: 4 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.217e-05/0.00243, allocations: 8.078 kB / 0.5234 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.86e-05/0.002489, allocations: 11.98 kB / 0.5234 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.701e-05/0.002536, allocations: 7.984 kB / 0.5234 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.00255, allocations: 0.5 kB / 0.5234 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.073e-06/0.002557, allocations: 5.031 kB / 0.5234 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.084e-05/0.002608, allocations: 15.84 kB / 0.5234 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.143e-05/0.002629, allocations: 7.984 kB / 0.5234 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 7.282e-05/0.002702, allocations: 16.83 kB / 0.5234 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.002704, allocations: 0 / 0.5234 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.22e-07/0.002705, allocations: 0.625 kB / 0.5234 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.002709, allocations: 0 / 0.5234 GB, free: 15.93 MB / 0.4948 GB 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.0003324/0.003041, allocations: 369.2 kB / 0.5238 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.003076, allocations: 8.031 kB / 0.5238 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.43e-05/0.003101, allocations: 10.14 kB / 0.5238 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.003205, allocations: 120.5 kB / 0.5239 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-06/0.003212, allocations: 384 / 0.5239 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-06/0.00322, allocations: 6.188 kB / 0.5239 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.053e-05/0.00331, allocations: 54.95 kB / 0.524 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.003317, allocations: 192 / 0.524 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.003325, allocations: 8.344 kB / 0.524 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.00333, allocations: 2.125 kB / 0.524 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.163e-05/0.003352, allocations: 7.938 kB / 0.524 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00022/0.003572, allocations: 244.3 kB / 0.5242 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.785e-05/0.003609, allocations: 27.12 kB / 0.5243 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.747e-05/0.003627, allocations: 12.44 kB / 0.5243 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.971e-06/0.003633, allocations: 0 / 0.5243 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.003653, allocations: 34.8 kB / 0.5243 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.003654, allocations: 0 / 0.5243 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001086/0.003762, allocations: 41.64 kB / 0.5244 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003085/0.004071, allocations: 56.73 kB / 0.5244 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.403e-05/0.004135, allocations: 153.9 kB / 0.5246 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.585e-06/0.004142, allocations: 25.7 kB / 0.5246 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.71e-05/0.004189, allocations: 150.7 kB / 0.5247 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.243e-05/0.004202, allocations: 1.781 kB / 0.5247 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.004227, allocations: 19.38 kB / 0.5247 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.004345, allocations: 492.1 kB / 0.5252 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-06/0.004352, allocations: 0 / 0.5252 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.542e-06/0.004359, allocations: 2.188 kB / 0.5252 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.926e-05/0.004378, allocations: 11.69 kB / 0.5252 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.00438, allocations: 256 / 0.5252 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.606e-05/0.004426, allocations: 37.59 kB / 0.5253 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.004441, allocations: 16.42 kB / 0.5253 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.004447, allocations: 4 kB / 0.5253 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.004456, allocations: 4.5 kB / 0.5253 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.784e-05/0.004504, allocations: 5.031 kB / 0.5253 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-06/0.004506, allocations: 0 / 0.5253 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.52e-05/0.004521, allocations: 0 / 0.5253 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.004527, allocations: 5.031 kB / 0.5253 GB, free: 13.86 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 6.087e-05/0.004588, allocations: 160.6 kB / 0.5254 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.004601, allocations: 3.25 kB / 0.5254 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.748e-05/0.004619, allocations: 11.09 kB / 0.5255 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.00462, allocations: 0 / 0.5255 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.004621, allocations: 0 / 0.5255 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.004625, allocations: 0 / 0.5255 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.113e-05/0.004706, allocations: 97.25 kB / 0.5256 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.004706, allocations: 0 / 0.5256 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.5e-05/0.004721, allocations: 7.984 kB / 0.5256 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.11e-07/0.004722, allocations: 0 / 0.5256 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-06/0.004726, allocations: 3.031 kB / 0.5256 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.004727, allocations: 3.938 kB / 0.5256 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.004729, allocations: 3.938 kB / 0.5256 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.835e-05/0.004807, allocations: 180 kB / 0.5257 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-06/0.004815, allocations: 7.938 kB / 0.5257 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.217e-06/0.004824, allocations: 4 kB / 0.5258 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.676e-05/0.004851, allocations: 0 / 0.5258 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/0.004879, allocations: 5.438 kB / 0.5258 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-06/0.00488, allocations: 4 kB / 0.5258 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.478e-05/0.004915, allocations: 123.2 kB / 0.5259 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.004915, allocations: 4 kB / 0.5259 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001311/0.005046, allocations: 0.625 kB / 0.5259 GB, free: 13.2 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.86e-05/0.005115, allocations: 98.44 kB / 0.526 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.44e-05/0.005179, allocations: 15.62 kB / 0.526 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.00518, allocations: 0 / 0.526 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.467e-05/0.005195, allocations: 7.688 kB / 0.526 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.005386, allocations: 11.98 kB / 0.526 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002561/0.005642, allocations: 120.7 kB / 0.5261 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.254e-05/0.005684, allocations: 55.36 kB / 0.5262 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.998e-05/0.005704, allocations: 0 / 0.5262 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.701e-05/0.005761, allocations: 74.2 kB / 0.5263 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of SimCode: time 9.82e-07/0.005762, allocations: 3.938 kB / 0.5263 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of Templates: time 0.001934/0.007696, allocations: 0.5103 MB / 0.5268 GB, free: 12.27 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.730735847260803]