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.001054/0.001054, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001187/0.001187, allocations: 173 kB / 23.36 MB, free: 1.133 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.089/1.089, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.8682/0.8682, allocations: 154.9 MB / 415.1 MB, free: 252 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 2.084e-06/2.084e-06, allocations: 0 / 480.4 MB, free: 6.547 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.857e-05/3.066e-05, allocations: 5.266 kB / 480.4 MB, free: 6.543 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002336/0.002366, allocations: 0.6884 MB / 481.1 MB, free: 5.891 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.003531, allocations: 0.8359 MB / 481.9 MB, free: 5.047 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.337e-05/0.003584, allocations: 4 kB / 481.9 MB, free: 5.043 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 9.869e-05/0.003683, allocations: 3.984 kB / 481.9 MB, free: 5.039 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.15e-05/0.003714, allocations: 8.453 kB / 481.9 MB, free: 5.035 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001125/0.003827, allocations: 7.984 kB / 481.9 MB, free: 5.027 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.418e-05/0.003911, allocations: 28.47 kB / 482 MB, free: 5.004 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.711e-05/0.003988, allocations: 4 kB / 482 MB, free: 5 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.459e-05/0.004063, allocations: 13.62 kB / 482 MB, free: 4.988 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.552e-05/0.004118, allocations: 12.53 kB / 482 MB, free: 4.977 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.004134, allocations: 0.5469 kB / 482 MB, free: 4.977 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.176e-06/0.004142, allocations: 4 kB / 482 MB, free: 4.973 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.224e-05/0.004194, allocations: 5.953 kB / 482 MB, free: 4.969 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.858e-05/0.004223, allocations: 9.891 kB / 482 MB, free: 4.961 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 9.198e-05/0.004315, allocations: 25 kB / 482 MB, free: 4.938 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.004317, allocations: 2.859 kB / 482 MB, free: 4.938 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.004319, allocations: 0 / 482 MB, free: 4.938 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.004323, allocations: 0 / 482 MB, free: 4.938 MB / 442.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.0003282/0.004651, allocations: 245 kB / 482.3 MB, free: 4.676 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.004692, allocations: 8.031 kB / 482.3 MB, free: 4.668 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.004721, allocations: 5.562 kB / 482.3 MB, free: 4.664 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.004856, allocations: 110.8 kB / 482.4 MB, free: 4.531 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.004869, allocations: 10.33 kB / 482.4 MB, free: 4.523 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-06/0.004878, allocations: 5.156 kB / 482.4 MB, free: 4.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.005004, allocations: 54.95 kB / 482.5 MB, free: 4.457 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.005013, allocations: 1.969 kB / 482.5 MB, free: 4.457 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.005021, allocations: 384 / 482.5 MB, free: 4.457 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.005027, allocations: 384 / 482.5 MB, free: 4.457 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.151e-05/0.005049, allocations: 7.938 kB / 482.5 MB, free: 4.449 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002641/0.005313, allocations: 168.5 kB / 482.7 MB, free: 4.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.475e-05/0.005358, allocations: 18.58 kB / 482.7 MB, free: 4.242 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.551e-05/0.005373, allocations: 5.797 kB / 482.7 MB, free: 4.234 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/0.005381, allocations: 0 / 482.7 MB, free: 4.234 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.005407, allocations: 35.25 kB / 482.7 MB, free: 4.191 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.853e-06/0.005409, allocations: 0.9375 kB / 482.7 MB, free: 4.191 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001213/0.00553, allocations: 38.89 kB / 482.7 MB, free: 4.148 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.005564, allocations: 55.45 kB / 482.8 MB, free: 4.082 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.861e-05/0.005633, allocations: 108.5 kB / 482.9 MB, free: 3.965 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.005645, allocations: 29.7 kB / 482.9 MB, free: 3.93 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.051e-05/0.005685, allocations: 84.12 kB / 483 MB, free: 3.844 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.005705, allocations: 7.938 kB / 483 MB, free: 3.836 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.005736, allocations: 14.78 kB / 483 MB, free: 3.816 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.532e-05/0.005831, allocations: 311.6 kB / 483.3 MB, free: 3.504 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.138e-05/0.005842, allocations: 1.156 kB / 483.3 MB, free: 3.504 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.068e-05/0.005853, allocations: 4.016 kB / 483.4 MB, free: 3.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.836e-05/0.005881, allocations: 9.5 kB / 483.4 MB, free: 3.488 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.005884, allocations: 4 kB / 483.4 MB, free: 3.484 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.225e-05/0.005947, allocations: 37.62 kB / 483.4 MB, free: 3.441 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.00596, allocations: 4 kB / 483.4 MB, free: 3.438 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.005966, allocations: 6.266 kB / 483.4 MB, free: 3.434 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.005978, allocations: 0 / 483.4 MB, free: 3.434 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.03e-05/0.006049, allocations: 4 kB / 483.4 MB, free: 3.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.594e-06/0.006051, allocations: 0.5 kB / 483.4 MB, free: 3.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.283e-05/0.006074, allocations: 8.891 kB / 483.4 MB, free: 3.422 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.00608, allocations: 0 / 483.4 MB, free: 3.422 MB / 442.7 MB 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.832e-05/0.006148, allocations: 113.6 kB / 483.5 MB, free: 3.301 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.006171, allocations: 4 kB / 483.5 MB, free: 3.297 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.325e-05/0.006195, allocations: 15.2 kB / 483.6 MB, free: 3.285 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.006197, allocations: 1.078 kB / 483.6 MB, free: 3.285 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.006199, allocations: 0.9062 kB / 483.6 MB, free: 3.285 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.006201, allocations: 0.7656 kB / 483.6 MB, free: 3.285 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.006323, allocations: 73.81 kB / 483.6 MB, free: 3.195 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.006325, allocations: 0.625 kB / 483.6 MB, free: 3.195 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.358e-05/0.006358, allocations: 4.625 kB / 483.6 MB, free: 3.191 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.006361, allocations: 0 / 483.6 MB, free: 3.191 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-06/0.006365, allocations: 4.625 kB / 483.6 MB, free: 3.188 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.006367, allocations: 0 / 483.6 MB, free: 3.188 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.00637, allocations: 5.656 kB / 483.6 MB, free: 3.184 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.006474, allocations: 136.1 kB / 483.8 MB, free: 3.035 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.006484, allocations: 4.938 kB / 483.8 MB, free: 3.031 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-06/0.006493, allocations: 0 / 483.8 MB, free: 3.031 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.695e-05/0.00655, allocations: 7.984 kB / 483.8 MB, free: 3.023 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.006582, allocations: 8.438 kB / 483.8 MB, free: 3.016 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.006586, allocations: 1.828 kB / 483.8 MB, free: 3.016 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.664e-05/0.006602, allocations: 8.859 kB / 483.8 MB, free: 3.004 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006603, allocations: 0 / 483.8 MB, free: 3.004 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002053/0.006808, allocations: 5.375 kB / 483.8 MB, free: 3 MB / 442.7 MB 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.0001137/0.006922, allocations: 81.06 kB / 483.9 MB, free: 2.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.549e-05/0.006987, allocations: 13.7 kB / 483.9 MB, free: 2.895 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.006991, allocations: 1.344 kB / 483.9 MB, free: 2.895 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.44e-05/0.007005, allocations: 4.859 kB / 483.9 MB, free: 2.887 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.007212, allocations: 4 kB / 483.9 MB, free: 2.883 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003013/0.007513, allocations: 119.3 kB / 484 MB, free: 2.742 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.654e-05/0.00756, allocations: 60.22 kB / 484.1 MB, free: 2.664 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.3e-05/0.007583, allocations: 0 / 484.1 MB, free: 2.664 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.994e-05/0.007633, allocations: 55.36 kB / 484.1 MB, free: 2.609 MB / 442.7 MB Notification: Performance of SimCode: time 7.61e-07/0.007633, allocations: 0 / 484.1 MB, free: 2.609 MB / 442.7 MB Notification: Performance of Templates: time 0.002629/0.01026, allocations: 434 kB / 484.6 MB, free: 2.211 MB / 442.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6605845391750336]