Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.0008982/0.0008982, 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.0009891/0.0009891, 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.02/1.02, allocations: 177.1 MB / 203.8 MB, free: 5.453 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.8855/0.8855, allocations: 154.9 MB / 415.1 MB, free: 228 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.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 480.4 MB, free: 6.508 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.385e-05/1.518e-05, allocations: 2.969 kB / 480.4 MB, free: 6.504 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001254/0.001269, allocations: 0.7022 MB / 481.1 MB, free: 5.84 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007981/0.002067, allocations: 0.8811 MB / 482 MB, free: 4.949 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.842e-05/0.002105, allocations: 0 / 482 MB, free: 4.949 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 8.337e-05/0.002189, allocations: 8.906 kB / 482 MB, free: 4.941 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 2.129e-05/0.00221, allocations: 1.203 kB / 482 MB, free: 4.941 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001282/0.002338, allocations: 23.91 kB / 482 MB, free: 4.918 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.432e-05/0.002403, allocations: 33.16 kB / 482 MB, free: 4.891 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.681e-05/0.002469, allocations: 11.94 kB / 482.1 MB, free: 4.879 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.558e-05/0.002525, allocations: 14.08 kB / 482.1 MB, free: 4.867 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.095e-05/0.002576, allocations: 18.48 kB / 482.1 MB, free: 4.852 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.002591, allocations: 4 kB / 482.1 MB, free: 4.848 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.275e-06/0.002599, allocations: 4.547 kB / 482.1 MB, free: 4.844 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.278e-05/0.002642, allocations: 13.19 kB / 482.1 MB, free: 4.832 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.155e-05/0.002664, allocations: 10.42 kB / 482.1 MB, free: 4.824 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.062e-05/0.002744, allocations: 26.03 kB / 482.1 MB, free: 4.801 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.002746, allocations: 1.156 kB / 482.1 MB, free: 4.801 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.002747, allocations: 0.875 kB / 482.1 MB, free: 4.801 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.00275, allocations: 0 / 482.1 MB, free: 4.801 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002773/0.003027, allocations: 249.9 kB / 482.4 MB, free: 4.535 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.00306, allocations: 12.03 kB / 482.4 MB, free: 4.523 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.445e-05/0.003085, allocations: 1.719 kB / 482.4 MB, free: 4.523 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.003202, allocations: 121.4 kB / 482.5 MB, free: 4.383 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.003222, allocations: 8.938 kB / 482.5 MB, free: 4.375 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-06/0.003231, allocations: 4.375 kB / 482.5 MB, free: 4.371 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.003357, allocations: 64.25 kB / 482.6 MB, free: 4.301 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.003366, allocations: 192 / 482.6 MB, free: 4.301 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-06/0.003373, allocations: 384 / 482.6 MB, free: 4.301 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.003378, allocations: 0.9062 kB / 482.6 MB, free: 4.301 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.732e-05/0.003406, allocations: 18.09 kB / 482.6 MB, free: 4.285 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002069/0.003612, allocations: 167 kB / 482.8 MB, free: 4.105 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.906e-05/0.003651, allocations: 19.64 kB / 482.8 MB, free: 4.078 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.00367, allocations: 12.91 kB / 482.8 MB, free: 4.062 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.003681, allocations: 0 / 482.8 MB, free: 4.062 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003146/0.003995, allocations: 31.56 kB / 482.8 MB, free: 4.023 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.003996, allocations: 0 / 482.8 MB, free: 4.023 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 9.904e-05/0.004095, allocations: 51.02 kB / 482.9 MB, free: 3.969 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.004121, allocations: 55.39 kB / 482.9 MB, free: 3.902 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.971e-05/0.00417, allocations: 103.5 kB / 483 MB, free: 3.789 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.004181, allocations: 30.48 kB / 483.1 MB, free: 3.754 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.744e-05/0.004218, allocations: 89.28 kB / 483.2 MB, free: 3.664 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.22e-05/0.004231, allocations: 1.438 kB / 483.2 MB, free: 3.664 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.004258, allocations: 21.7 kB / 483.2 MB, free: 3.637 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.17e-05/0.00433, allocations: 318.8 kB / 483.5 MB, free: 3.316 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-06/0.004339, allocations: 3.984 kB / 483.5 MB, free: 3.312 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.925e-06/0.004347, allocations: 4.844 kB / 483.5 MB, free: 3.309 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.776e-05/0.004375, allocations: 12.47 kB / 483.5 MB, free: 3.293 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.004376, allocations: 0 / 483.5 MB, free: 3.293 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.13e-05/0.004418, allocations: 43.27 kB / 483.6 MB, free: 3.246 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.004431, allocations: 13 kB / 483.6 MB, free: 3.234 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.004435, allocations: 0 / 483.6 MB, free: 3.234 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.004444, allocations: 0 / 483.6 MB, free: 3.234 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.391e-05/0.004507, allocations: 8.609 kB / 483.6 MB, free: 3.227 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.766e-06/0.00451, allocations: 0 / 483.6 MB, free: 3.227 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.794e-05/0.004528, allocations: 8.578 kB / 483.6 MB, free: 3.219 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-06/0.004532, allocations: 1.391 kB / 483.6 MB, free: 3.219 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: 1 (intRep.y[3]) * 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 5.879e-05/0.004591, allocations: 113.3 kB / 483.7 MB, free: 3.098 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.004605, allocations: 0 / 483.7 MB, free: 3.098 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.708e-05/0.004622, allocations: 15.11 kB / 483.7 MB, free: 3.086 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.004624, allocations: 3.984 kB / 483.7 MB, free: 3.082 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-06/0.004626, allocations: 0.875 kB / 483.7 MB, free: 3.082 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.004628, allocations: 4.719 kB / 483.7 MB, free: 3.078 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.644e-05/0.004704, allocations: 70.66 kB / 483.8 MB, free: 2.992 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.004705, allocations: 0.5312 kB / 483.8 MB, free: 2.992 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.121e-05/0.004727, allocations: 9.422 kB / 483.8 MB, free: 2.984 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.004729, allocations: 5.031 kB / 483.8 MB, free: 2.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-06/0.004733, allocations: 3.938 kB / 483.8 MB, free: 2.977 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.8e-07/0.004733, allocations: 0 / 483.8 MB, free: 2.977 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.004735, allocations: 4.875 kB / 483.8 MB, free: 2.973 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.918e-05/0.004804, allocations: 128.4 kB / 483.9 MB, free: 2.832 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.689e-06/0.004809, allocations: 5.062 kB / 484 MB, free: 2.828 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.444e-06/0.004817, allocations: 0 / 484 MB, free: 2.828 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.334e-05/0.00485, allocations: 7.984 kB / 484 MB, free: 2.82 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.004883, allocations: 8.781 kB / 484 MB, free: 2.812 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.004885, allocations: 0 / 484 MB, free: 2.812 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.919e-06/0.004895, allocations: 13.44 kB / 484 MB, free: 2.797 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004895, allocations: 0 / 484 MB, free: 2.797 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000114/0.005009, allocations: 13.78 kB / 484 MB, free: 2.785 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: 1 (intRep.y[3]) * 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 5.949e-05/0.005068, allocations: 80.41 kB / 484.1 MB, free: 2.695 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.85e-05/0.005127, allocations: 18.89 kB / 484.1 MB, free: 2.676 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.005128, allocations: 0 / 484.1 MB, free: 2.676 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.688e-05/0.005145, allocations: 16.84 kB / 484.1 MB, free: 2.656 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001144/0.00526, allocations: 7.938 kB / 484.1 MB, free: 2.648 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000194/0.005454, allocations: 125.7 kB / 484.2 MB, free: 2.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.975e-05/0.005483, allocations: 55.34 kB / 484.3 MB, free: 2.426 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.97e-05/0.005503, allocations: 5.906 kB / 484.3 MB, free: 2.422 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.089e-05/0.005544, allocations: 51.38 kB / 484.3 MB, free: 2.371 MB / 442.7 MB Notification: Performance of SimCode: time 3.71e-07/0.005544, allocations: 0 / 484.3 MB, free: 2.371 MB / 442.7 MB Notification: Performance of Templates: time 0.001902/0.007446, allocations: 0.6511 MB / 485 MB, free: 1.762 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6425621430389583]