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.0006651/0.0006651, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009004/0.001565, allocations: 440 kB / 10.41 MB, free: 284 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.0006907/0.0006907, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009227/0.001613, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.099/1.099, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1035/1.203, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.7459/0.7459, allocations: 154.6 MB / 398.8 MB, free: 388 kB / 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.2632/1.009, allocations: 49.05 MB / 447.8 MB, free: 6.598 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 2.414e-06/2.414e-06, allocations: 0.5469 kB / 449.1 MB, free: 5.301 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.166e-05/2.408e-05, allocations: 9.797 kB / 449.1 MB, free: 5.293 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001812/0.001836, allocations: 0.6827 MB / 449.8 MB, free: 4.648 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008955/0.002731, allocations: 0.8492 MB / 450.7 MB, free: 3.793 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.603e-05/0.002767, allocations: 1.219 kB / 450.7 MB, free: 3.793 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.582e-05/0.002823, allocations: 0 / 450.7 MB, free: 3.793 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.434e-05/0.002848, allocations: 9.891 kB / 450.7 MB, free: 3.785 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.561e-05/0.002913, allocations: 4.75 kB / 450.7 MB, free: 3.781 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.626e-05/0.002989, allocations: 28.25 kB / 450.7 MB, free: 3.758 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.234e-05/0.003072, allocations: 9.422 kB / 450.7 MB, free: 3.75 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.828e-05/0.00316, allocations: 18.5 kB / 450.7 MB, free: 3.734 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.528e-05/0.003225, allocations: 8.859 kB / 450.7 MB, free: 3.727 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.003247, allocations: 5.781 kB / 450.8 MB, free: 3.723 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.04e-05/0.003257, allocations: 0 / 450.8 MB, free: 3.723 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.27e-05/0.00331, allocations: 5.75 kB / 450.8 MB, free: 3.719 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.829e-05/0.003338, allocations: 9.75 kB / 450.8 MB, free: 3.711 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.047e-05/0.003429, allocations: 18.06 kB / 450.8 MB, free: 3.695 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.313e-05/0.003442, allocations: 0.875 kB / 450.8 MB, free: 3.695 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.003443, allocations: 0 / 450.8 MB, free: 3.695 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.555e-05/0.003459, allocations: 0.875 kB / 450.8 MB, free: 3.695 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.0004222/0.003881, allocations: 251.9 kB / 451 MB, free: 3.422 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.003921, allocations: 8.031 kB / 451 MB, free: 3.414 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.003955, allocations: 4.938 kB / 451 MB, free: 3.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.004099, allocations: 111 kB / 451.2 MB, free: 3.277 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.00411, allocations: 1.781 kB / 451.2 MB, free: 3.277 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.004124, allocations: 4.375 kB / 451.2 MB, free: 3.273 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.004256, allocations: 58.94 kB / 451.2 MB, free: 3.207 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.004264, allocations: 0.8438 kB / 451.2 MB, free: 3.207 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.004271, allocations: 384 / 451.2 MB, free: 3.207 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.004277, allocations: 1.641 kB / 451.2 MB, free: 3.207 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.086e-05/0.004298, allocations: 7.938 kB / 451.2 MB, free: 3.199 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002609/0.004559, allocations: 172.7 kB / 451.4 MB, free: 3.016 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.23e-05/0.004601, allocations: 18.64 kB / 451.4 MB, free: 2.988 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.544e-05/0.004617, allocations: 4.859 kB / 451.4 MB, free: 2.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.813e-06/0.004624, allocations: 1.906 kB / 451.4 MB, free: 2.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.004648, allocations: 30.62 kB / 451.5 MB, free: 2.941 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 2.465e-06/0.004651, allocations: 1.547 kB / 451.5 MB, free: 2.941 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001175/0.004768, allocations: 45.58 kB / 451.5 MB, free: 2.891 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.004797, allocations: 52.66 kB / 451.6 MB, free: 2.828 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.551e-05/0.004862, allocations: 102.7 kB / 451.7 MB, free: 2.715 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.004874, allocations: 25.7 kB / 451.7 MB, free: 2.684 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.582e-05/0.00491, allocations: 92.56 kB / 451.8 MB, free: 2.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.004943, allocations: 7.938 kB / 451.8 MB, free: 2.582 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.004972, allocations: 15.06 kB / 451.8 MB, free: 2.562 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.391e-05/0.005056, allocations: 310.8 kB / 452.1 MB, free: 2.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.297e-06/0.005065, allocations: 0.6562 kB / 452.1 MB, free: 2.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.554e-06/0.005073, allocations: 0.625 kB / 452.1 MB, free: 2.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.615e-05/0.005099, allocations: 16.34 kB / 452.1 MB, free: 2.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.005101, allocations: 0 / 452.1 MB, free: 2.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.743e-05/0.005158, allocations: 44.56 kB / 452.2 MB, free: 2.184 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.005172, allocations: 4 kB / 452.2 MB, free: 2.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.005177, allocations: 5.031 kB / 452.2 MB, free: 2.176 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.00519, allocations: 0 / 452.2 MB, free: 2.176 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.439e-05/0.005254, allocations: 4 kB / 452.2 MB, free: 2.172 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.005257, allocations: 256 / 452.2 MB, free: 2.172 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.338e-05/0.00528, allocations: 7.984 kB / 452.2 MB, free: 2.164 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.005286, allocations: 4.906 kB / 452.2 MB, free: 2.16 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.748e-05/0.005344, allocations: 109.2 kB / 452.3 MB, free: 2.043 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.997e-05/0.005364, allocations: 1.172 kB / 452.3 MB, free: 2.043 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.166e-05/0.005385, allocations: 12.19 kB / 452.3 MB, free: 2.027 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.005387, allocations: 0 / 452.3 MB, free: 2.027 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.005388, allocations: 0.7656 kB / 452.3 MB, free: 2.027 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.005391, allocations: 0.625 kB / 452.3 MB, free: 2.027 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.005498, allocations: 70.5 kB / 452.4 MB, free: 1.941 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.005499, allocations: 0 / 452.4 MB, free: 1.941 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.905e-05/0.005528, allocations: 8.562 kB / 452.4 MB, free: 1.934 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.124e-05/0.005539, allocations: 4 kB / 452.4 MB, free: 1.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.005541, allocations: 0.625 kB / 452.4 MB, free: 1.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-06/0.005545, allocations: 1.281 kB / 452.4 MB, free: 1.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.005547, allocations: 3.938 kB / 452.4 MB, free: 1.926 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.005548, allocations: 0.625 kB / 452.4 MB, free: 1.926 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.851e-05/0.005637, allocations: 133.6 kB / 452.5 MB, free: 1.781 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-06/0.005645, allocations: 0 / 452.5 MB, free: 1.781 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.147e-05/0.005697, allocations: 0.8125 kB / 452.5 MB, free: 1.781 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.005728, allocations: 13.12 kB / 452.5 MB, free: 1.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.00573, allocations: 1.781 kB / 452.5 MB, free: 1.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.44e-05/0.005745, allocations: 8.859 kB / 452.5 MB, free: 1.758 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005745, allocations: 0 / 452.5 MB, free: 1.758 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001814/0.005926, allocations: 4 kB / 452.5 MB, free: 1.754 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 0.0001014/0.006028, allocations: 77.22 kB / 452.6 MB, free: 1.668 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.267e-05/0.00609, allocations: 13.8 kB / 452.6 MB, free: 1.652 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.006096, allocations: 4.547 kB / 452.6 MB, free: 1.648 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.063e-05/0.006117, allocations: 6.188 kB / 452.6 MB, free: 1.641 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.006333, allocations: 39.73 kB / 452.7 MB, free: 1.598 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000446/0.006779, allocations: 124.3 kB / 452.8 MB, free: 1.453 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.625e-05/0.006815, allocations: 56.58 kB / 452.9 MB, free: 1.379 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.09e-05/0.006836, allocations: 0 / 452.9 MB, free: 1.379 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.942e-05/0.006885, allocations: 51.38 kB / 452.9 MB, free: 1.328 MB / 426.7 MB Notification: Performance of SimCode: time 7.12e-07/0.006886, allocations: 1.516 kB / 452.9 MB, free: 1.328 MB / 426.7 MB Notification: Performance of Templates: time 0.00228/0.009166, allocations: 459.9 kB / 453.4 MB, free: 0.9062 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.5190139915794134]