Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0006555/0.0006555, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008249/0.00148, 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.000679/0.000679, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0007858/0.001465, 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 1.043/1.043, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1006/1.143, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7861/0.7861, allocations: 154.6 MB / 398.5 MB, free: 0.5078 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.28/1.066, allocations: 49.04 MB / 447.6 MB, free: 6.676 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.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0.6562 kB / 448.9 MB, free: 5.406 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.25e-05, allocations: 3.531 kB / 448.9 MB, free: 5.402 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.00159/0.001613, allocations: 0.6845 MB / 449.6 MB, free: 4.758 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007693/0.002382, allocations: 0.8489 MB / 450.4 MB, free: 3.902 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.659e-05/0.002419, allocations: 0 / 450.4 MB, free: 3.902 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.384e-05/0.002473, allocations: 5.906 kB / 450.4 MB, free: 3.898 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.016e-05/0.002493, allocations: 4.984 kB / 450.4 MB, free: 3.895 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.373e-05/0.002556, allocations: 8.75 kB / 450.4 MB, free: 3.887 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.127e-05/0.002628, allocations: 24.38 kB / 450.4 MB, free: 3.867 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.151e-05/0.002699, allocations: 7.969 kB / 450.5 MB, free: 3.859 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.364e-05/0.002773, allocations: 22.83 kB / 450.5 MB, free: 3.84 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.32e-05/0.002826, allocations: 13.08 kB / 450.5 MB, free: 3.828 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.002843, allocations: 1.406 kB / 450.5 MB, free: 3.828 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.285e-06/0.002852, allocations: 4 kB / 450.5 MB, free: 3.824 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.12e-05/0.002893, allocations: 6.078 kB / 450.5 MB, free: 3.82 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.642e-05/0.002919, allocations: 5.516 kB / 450.5 MB, free: 3.816 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 6.976e-05/0.002989, allocations: 14.17 kB / 450.5 MB, free: 3.805 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.582e-05/0.003005, allocations: 6.141 kB / 450.5 MB, free: 3.801 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.003006, allocations: 3.938 kB / 450.5 MB, free: 3.797 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.003022, allocations: 0 / 450.5 MB, free: 3.797 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.005364/0.008386, allocations: 243.3 kB / 450.8 MB, free: 3.531 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.008425, allocations: 13.91 kB / 450.8 MB, free: 3.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.00846, allocations: 4.922 kB / 450.8 MB, free: 3.516 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.008582, allocations: 105.8 kB / 450.9 MB, free: 3.387 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.008593, allocations: 9.469 kB / 450.9 MB, free: 3.379 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-06/0.0086, allocations: 384 / 450.9 MB, free: 3.379 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.00872, allocations: 51.83 kB / 450.9 MB, free: 3.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.008727, allocations: 192 / 450.9 MB, free: 3.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.008735, allocations: 10.97 kB / 451 MB, free: 3.312 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.00874, allocations: 384 / 451 MB, free: 3.312 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.273e-05/0.008763, allocations: 15.86 kB / 451 MB, free: 3.297 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002152/0.008978, allocations: 163.8 kB / 451.1 MB, free: 3.121 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.863e-05/0.009016, allocations: 14.58 kB / 451.1 MB, free: 3.098 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.526e-05/0.009032, allocations: 5.922 kB / 451.2 MB, free: 3.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.054e-06/0.009039, allocations: 4.828 kB / 451.2 MB, free: 3.086 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.009063, allocations: 39.39 kB / 451.2 MB, free: 3.039 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.009064, allocations: 0 / 451.2 MB, free: 3.039 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.000103/0.009167, allocations: 34.27 kB / 451.2 MB, free: 3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.009198, allocations: 51.41 kB / 451.3 MB, free: 2.938 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.713e-05/0.009255, allocations: 108.4 kB / 451.4 MB, free: 2.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.009264, allocations: 25.7 kB / 451.4 MB, free: 2.789 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.104e-05/0.009305, allocations: 96.78 kB / 451.5 MB, free: 2.691 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.009321, allocations: 3.953 kB / 451.5 MB, free: 2.688 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.009351, allocations: 10.41 kB / 451.5 MB, free: 2.672 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.128e-05/0.009432, allocations: 318.8 kB / 451.8 MB, free: 2.352 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.368e-06/0.009442, allocations: 1.094 kB / 451.8 MB, free: 2.352 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.303e-06/0.009449, allocations: 0 / 451.8 MB, free: 2.352 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.264e-05/0.009472, allocations: 17.45 kB / 451.8 MB, free: 2.332 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.009474, allocations: 3.562 kB / 451.9 MB, free: 2.332 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.866e-05/0.009522, allocations: 29.7 kB / 451.9 MB, free: 2.297 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.009535, allocations: 4 kB / 451.9 MB, free: 2.293 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.009542, allocations: 11.94 kB / 451.9 MB, free: 2.281 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.00955, allocations: 0 / 451.9 MB, free: 2.281 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.237e-05/0.009613, allocations: 7.984 kB / 451.9 MB, free: 2.273 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.285e-06/0.009615, allocations: 0 / 451.9 MB, free: 2.273 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.717e-05/0.009632, allocations: 0 / 451.9 MB, free: 2.273 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.009637, allocations: 2.781 kB / 451.9 MB, free: 2.273 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: 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 5.414e-05/0.009691, allocations: 112.7 kB / 452 MB, free: 2.152 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.672e-05/0.009707, allocations: 1.984 kB / 452 MB, free: 2.152 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.469e-05/0.009732, allocations: 19.02 kB / 452 MB, free: 2.133 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.009734, allocations: 0 / 452 MB, free: 2.133 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.009736, allocations: 4.75 kB / 452 MB, free: 2.129 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.009737, allocations: 0 / 452 MB, free: 2.129 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.697e-05/0.009834, allocations: 66.39 kB / 452.1 MB, free: 2.047 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.009836, allocations: 0 / 452.1 MB, free: 2.047 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.428e-05/0.00986, allocations: 9.328 kB / 452.1 MB, free: 2.039 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-06/0.009865, allocations: 0 / 452.1 MB, free: 2.039 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.009867, allocations: 0.625 kB / 452.1 MB, free: 2.039 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-06/0.00987, allocations: 0.5625 kB / 452.1 MB, free: 2.039 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.009874, allocations: 7.938 kB / 452.1 MB, free: 2.031 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.009875, allocations: 0.625 kB / 452.1 MB, free: 2.031 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.826e-05/0.009954, allocations: 125.2 kB / 452.2 MB, free: 1.895 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-06/0.009963, allocations: 4.938 kB / 452.3 MB, free: 1.891 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.104e-05/0.01, allocations: 0 / 452.3 MB, free: 1.891 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.494e-05/0.01003, allocations: 3.938 kB / 452.3 MB, free: 1.887 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-06/0.01003, allocations: 1.719 kB / 452.3 MB, free: 1.887 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.548e-05/0.01005, allocations: 20.78 kB / 452.3 MB, free: 1.863 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01005, allocations: 0 / 452.3 MB, free: 1.863 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001612/0.01021, allocations: 4 kB / 452.3 MB, free: 1.859 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: 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 8.577e-05/0.01029, allocations: 77.33 kB / 452.4 MB, free: 1.773 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.514e-05/0.01035, allocations: 10.41 kB / 452.4 MB, free: 1.762 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.01035, allocations: 0 / 452.4 MB, free: 1.762 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.319e-05/0.01037, allocations: 10.17 kB / 452.4 MB, free: 1.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.01054, allocations: 10.61 kB / 452.4 MB, free: 1.742 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/0.01092, allocations: 121.7 kB / 452.5 MB, free: 1.602 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.632e-05/0.01096, allocations: 56.58 kB / 452.6 MB, free: 1.527 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.01e-05/0.01098, allocations: 3.984 kB / 452.6 MB, free: 1.523 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.963e-05/0.01102, allocations: 56.38 kB / 452.6 MB, free: 1.469 MB / 426.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01102, allocations: 0 / 452.6 MB, free: 1.469 MB / 426.7 MB Notification: Performance of Templates: time 0.005178/0.0162, allocations: 449.2 kB / 453.1 MB, free: 1.051 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.655831405892968]