Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001108/0.001108, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001905/0.003013, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001165/0.001165, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001392/0.002557, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9975/0.9975, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09624/1.094, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.9384/0.9384, allocations: 154.6 MB / 398.5 MB, free: 0.5039 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3001/1.239, allocations: 49.03 MB / 447.6 MB, free: 6.684 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 448.9 MB, free: 5.41 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.338e-05, allocations: 5.047 kB / 448.9 MB, free: 5.406 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001948/0.001971, allocations: 0.6967 MB / 449.6 MB, free: 4.75 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009608/0.002932, allocations: 0.8876 MB / 450.5 MB, free: 3.855 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.762e-05/0.00297, allocations: 0 / 450.5 MB, free: 3.855 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.052e-05/0.00302, allocations: 4.719 kB / 450.5 MB, free: 3.852 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.476e-05/0.003045, allocations: 5.969 kB / 450.5 MB, free: 3.848 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.786e-05/0.003143, allocations: 20.89 kB / 450.5 MB, free: 3.828 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.273e-05/0.003226, allocations: 36.34 kB / 450.5 MB, free: 3.797 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.811e-05/0.003304, allocations: 5.656 kB / 450.5 MB, free: 3.793 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.792e-05/0.003392, allocations: 30.05 kB / 450.6 MB, free: 3.766 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.203e-05/0.003454, allocations: 12.97 kB / 450.6 MB, free: 3.754 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.003478, allocations: 6.734 kB / 450.6 MB, free: 3.75 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.162e-05/0.003489, allocations: 4 kB / 450.6 MB, free: 3.746 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.5e-05/0.003534, allocations: 9.734 kB / 450.6 MB, free: 3.738 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.003569, allocations: 9.203 kB / 450.6 MB, free: 3.73 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 8.262e-05/0.003651, allocations: 19.7 kB / 450.6 MB, free: 3.715 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.51e-05/0.003666, allocations: 0.5625 kB / 450.6 MB, free: 3.715 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003667, allocations: 0 / 450.6 MB, free: 3.715 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.003685, allocations: 0.625 kB / 450.6 MB, free: 3.715 MB / 426.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.0004027/0.004088, allocations: 247.4 kB / 450.9 MB, free: 3.445 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.004122, allocations: 12.03 kB / 450.9 MB, free: 3.434 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.004154, allocations: 6.062 kB / 450.9 MB, free: 3.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.004283, allocations: 126.2 kB / 451 MB, free: 3.281 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.004302, allocations: 384 / 451 MB, free: 3.281 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.004311, allocations: 5.219 kB / 451 MB, free: 3.277 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.004444, allocations: 62.94 kB / 451.1 MB, free: 3.207 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.004452, allocations: 3.922 kB / 451.1 MB, free: 3.207 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.00446, allocations: 384 / 451.1 MB, free: 3.207 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.004465, allocations: 384 / 451.1 MB, free: 3.207 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.609e-05/0.004501, allocations: 11.94 kB / 451.1 MB, free: 3.195 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002475/0.004749, allocations: 171 kB / 451.2 MB, free: 3.012 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.454e-05/0.004803, allocations: 22.58 kB / 451.3 MB, free: 2.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.149e-05/0.004825, allocations: 15.55 kB / 451.3 MB, free: 2.965 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.004836, allocations: 0.6562 kB / 451.3 MB, free: 2.965 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.004859, allocations: 31.81 kB / 451.3 MB, free: 2.926 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.00486, allocations: 0 / 451.3 MB, free: 2.926 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001285/0.004989, allocations: 45.58 kB / 451.4 MB, free: 2.875 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.005027, allocations: 56.02 kB / 451.4 MB, free: 2.809 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.508e-05/0.005093, allocations: 104.7 kB / 451.5 MB, free: 2.695 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.005105, allocations: 30.69 kB / 451.5 MB, free: 2.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.005145, allocations: 93.06 kB / 451.6 MB, free: 2.566 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.344e-05/0.005159, allocations: 0 / 451.6 MB, free: 2.566 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.005195, allocations: 17.7 kB / 451.7 MB, free: 2.543 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.958e-05/0.005284, allocations: 314.8 kB / 452 MB, free: 2.227 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.174e-05/0.005296, allocations: 1.938 kB / 452 MB, free: 2.227 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.261e-05/0.005309, allocations: 7.984 kB / 452 MB, free: 2.219 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.854e-05/0.005347, allocations: 20.41 kB / 452 MB, free: 2.195 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.005349, allocations: 0 / 452 MB, free: 2.195 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.773e-05/0.005407, allocations: 38.97 kB / 452 MB, free: 2.152 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.005423, allocations: 12.48 kB / 452 MB, free: 2.141 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.005427, allocations: 0 / 452 MB, free: 2.141 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.005436, allocations: 0.5938 kB / 452 MB, free: 2.141 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.306e-05/0.005519, allocations: 7.984 kB / 452.1 MB, free: 2.133 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.005522, allocations: 1.688 kB / 452.1 MB, free: 2.133 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.916e-05/0.005551, allocations: 4.766 kB / 452.1 MB, free: 2.129 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-06/0.005556, allocations: 0 / 452.1 MB, free: 2.129 MB / 426.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 7.987e-05/0.005635, allocations: 117.6 kB / 452.2 MB, free: 2.004 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.005657, allocations: 0 / 452.2 MB, free: 2.004 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.118e-05/0.005678, allocations: 7.25 kB / 452.2 MB, free: 1.996 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.005682, allocations: 8.672 kB / 452.2 MB, free: 1.988 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.005684, allocations: 0 / 452.2 MB, free: 1.988 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.005686, allocations: 1.719 kB / 452.2 MB, free: 1.988 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.005801, allocations: 70.81 kB / 452.3 MB, free: 1.902 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.005803, allocations: 0 / 452.3 MB, free: 1.902 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.004e-05/0.005843, allocations: 15.92 kB / 452.3 MB, free: 1.887 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-06/0.005849, allocations: 1.219 kB / 452.3 MB, free: 1.887 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.005851, allocations: 0.5625 kB / 452.3 MB, free: 1.887 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.005857, allocations: 3.938 kB / 452.3 MB, free: 1.883 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.005859, allocations: 5.188 kB / 452.3 MB, free: 1.879 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.00586, allocations: 0 / 452.3 MB, free: 1.879 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.506e-05/0.005955, allocations: 132.6 kB / 452.4 MB, free: 1.734 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.005966, allocations: 1.312 kB / 452.4 MB, free: 1.734 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.746e-05/0.006023, allocations: 7.984 kB / 452.4 MB, free: 1.727 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.00606, allocations: 8.844 kB / 452.4 MB, free: 1.719 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.006063, allocations: 4 kB / 452.4 MB, free: 1.715 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.343e-05/0.006077, allocations: 14.16 kB / 452.5 MB, free: 1.699 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006077, allocations: 0 / 452.5 MB, free: 1.699 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002044/0.006281, allocations: 7.938 kB / 452.5 MB, free: 1.691 MB / 426.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 8.038e-05/0.006362, allocations: 83.02 kB / 452.5 MB, free: 1.602 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.912e-05/0.006431, allocations: 16.83 kB / 452.6 MB, free: 1.582 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.78e-06/0.006436, allocations: 4.844 kB / 452.6 MB, free: 1.578 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.832e-05/0.006465, allocations: 8.859 kB / 452.6 MB, free: 1.566 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.006634, allocations: 13.02 kB / 452.6 MB, free: 1.555 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004079/0.007042, allocations: 129.8 kB / 452.7 MB, free: 1.406 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.652e-05/0.007079, allocations: 52.27 kB / 452.8 MB, free: 1.336 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.536e-05/0.007104, allocations: 4.656 kB / 452.8 MB, free: 1.332 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.657e-05/0.00716, allocations: 63.97 kB / 452.8 MB, free: 1.27 MB / 426.7 MB Notification: Performance of SimCode: time 7.41e-07/0.007161, allocations: 0.625 kB / 452.8 MB, free: 1.27 MB / 426.7 MB Notification: Performance of Templates: time 0.0026/0.009761, allocations: 0.6602 MB / 453.5 MB, free: 0.6445 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.708974647335708]