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.001097/0.001097, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.001247/0.001247, allocations: 169 kB / 23.02 MB, free: 1.551 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 0.9613/0.9613, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.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.7859/0.7859, allocations: 154.6 MB / 414.5 MB, free: 0.6914 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. " [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 3.346e-06/3.346e-06, allocations: 0 / 0.5203 GB, free: 2.227 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.767e-05/3.102e-05, allocations: 3.219 kB / 0.5203 GB, free: 2.223 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.00139/0.001421, allocations: 0.6537 MB / 0.521 GB, free: 1.59 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008062/0.002227, allocations: 0.8719 MB / 0.5218 GB, free: 0.707 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.498e-05/0.002272, allocations: 1.469 kB / 0.5218 GB, free: 0.707 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.62e-05/0.002368, allocations: 7.922 kB / 0.5218 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.57e-05/0.002394, allocations: 5.359 kB / 0.5218 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.00256, allocations: 24.88 kB / 0.5218 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.141e-05/0.002631, allocations: 35.86 kB / 0.5219 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.662e-05/0.002718, allocations: 4 kB / 0.5219 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.073e-05/0.002778, allocations: 22.02 kB / 0.5219 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.133e-05/0.00283, allocations: 11.97 kB / 0.5219 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.002851, allocations: 4 kB / 0.5219 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.947e-06/0.00286, allocations: 4 kB / 0.5219 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.032e-05/0.00291, allocations: 15.92 kB / 0.5219 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.623e-05/0.002936, allocations: 4.875 kB / 0.5219 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.022e-05/0.003017, allocations: 31.89 kB / 0.522 GB, free: 0.543 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.003019, allocations: 0.8125 kB / 0.522 GB, free: 0.543 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.003021, allocations: 0 / 0.522 GB, free: 0.543 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.003025, allocations: 0 / 0.522 GB, free: 0.543 MB / 490.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.0003416/0.003366, allocations: 373.6 kB / 0.5223 GB, free: 144 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.003404, allocations: 8.031 kB / 0.5223 GB, free: 136 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.00344, allocations: 6.375 kB / 0.5223 GB, free: 132 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.003574, allocations: 120.5 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.003594, allocations: 12.38 kB / 0.5225 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.003604, allocations: 384 / 0.5225 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.003743, allocations: 67.72 kB / 0.5225 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.003749, allocations: 0.9688 kB / 0.5225 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-06/0.003758, allocations: 384 / 0.5225 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.003766, allocations: 7.391 kB / 0.5225 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.477e-05/0.0038, allocations: 11.94 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002792/0.004079, allocations: 279.6 kB / 0.5228 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.409e-05/0.004144, allocations: 35.06 kB / 0.5229 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.379e-05/0.004167, allocations: 11.67 kB / 0.5229 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.00418, allocations: 8 kB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.004199, allocations: 33.39 kB / 0.5229 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.004199, allocations: 0.5 kB / 0.5229 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001432/0.004343, allocations: 46.39 kB / 0.523 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.004377, allocations: 60.17 kB / 0.523 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.044e-05/0.004448, allocations: 161.9 kB / 0.5232 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.004458, allocations: 26.67 kB / 0.5232 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.415e-05/0.004503, allocations: 138.8 kB / 0.5233 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.004516, allocations: 4 kB / 0.5233 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.004543, allocations: 20.34 kB / 0.5233 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.004647, allocations: 496.1 kB / 0.5238 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.742e-05/0.004664, allocations: 4.672 kB / 0.5238 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.204e-05/0.004676, allocations: 4.969 kB / 0.5238 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.027e-05/0.004706, allocations: 11.69 kB / 0.5238 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.004708, allocations: 4.5 kB / 0.5238 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.082e-05/0.004769, allocations: 54.55 kB / 0.5239 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.004781, allocations: 4 kB / 0.5239 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.004786, allocations: 1.219 kB / 0.5239 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.004799, allocations: 4 kB / 0.5239 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.456e-05/0.004873, allocations: 4 kB / 0.5239 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.004877, allocations: 0.625 kB / 0.5239 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.019e-05/0.004898, allocations: 7.984 kB / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-06/0.004902, allocations: 1.531 kB / 0.5239 GB, free: 14.36 MB / 0.4948 GB 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 6.799e-05/0.00497, allocations: 156.6 kB / 0.5241 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.004985, allocations: 7.938 kB / 0.5241 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.854e-05/0.005003, allocations: 7.812 kB / 0.5241 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.005005, allocations: 0 / 0.5241 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.005008, allocations: 0 / 0.5241 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.00501, allocations: 1 kB / 0.5241 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.15e-05/0.005102, allocations: 120.6 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.005103, allocations: 1.125 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.005336, allocations: 11.92 kB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.005338, allocations: 7.875 kB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.005345, allocations: 1.781 kB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.005347, allocations: 8 kB / 0.5242 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.005348, allocations: 0 / 0.5242 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.005451, allocations: 192.4 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-06/0.005457, allocations: 0 / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.005468, allocations: 5.188 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.443e-05/0.005502, allocations: 4 kB / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.005543, allocations: 7.984 kB / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.005548, allocations: 6.75 kB / 0.5244 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.348e-05/0.005582, allocations: 127.2 kB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005582, allocations: 0 / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001415/0.005723, allocations: 8 kB / 0.5246 GB, free: 13.65 MB / 0.4948 GB 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.369e-05/0.005807, allocations: 95.25 kB / 0.5247 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.266e-05/0.005889, allocations: 18.03 kB / 0.5247 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.005891, allocations: 4 kB / 0.5247 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.072e-05/0.005912, allocations: 15.67 kB / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/0.006086, allocations: 8 kB / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002617/0.006348, allocations: 136.2 kB / 0.5248 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.084e-05/0.006379, allocations: 59.34 kB / 0.5249 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.343e-05/0.006402, allocations: 0.5938 kB / 0.5249 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.006433, allocations: 12.5 kB / 0.5249 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of SimCode: time 7.62e-07/0.006434, allocations: 0.5 kB / 0.5249 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of Templates: time 0.002262/0.008696, allocations: 0.7024 MB / 0.5256 GB, free: 12.58 MB / 0.4948 GB " [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.522884196136147]