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.001927/0.001927, allocations: 89.48 kB / 19.44 MB, free: 340 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.002076/0.002076, allocations: 177.2 kB / 22.76 MB, free: 1.66 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.576/1.576, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 1.342/1.342, allocations: 154.6 MB / 414.2 MB, free: 0.6445 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 178] 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 2.314e-06/2.314e-06, allocations: 0 / 0.5196 GB, free: 2.57 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.801e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.566 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001802/0.00183, allocations: 0.6512 MB / 0.5203 GB, free: 1.938 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.003001, allocations: 0.8523 MB / 0.5211 GB, free: 1.074 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.597e-05/0.003047, allocations: 4.156 kB / 0.5211 GB, free: 1.07 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 8.919e-05/0.003136, allocations: 5.344 kB / 0.5211 GB, free: 1.066 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.431e-05/0.00317, allocations: 11.94 kB / 0.5211 GB, free: 1.055 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/0.003319, allocations: 11.98 kB / 0.5211 GB, free: 1.043 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.073e-05/0.003399, allocations: 33.25 kB / 0.5211 GB, free: 1.012 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.007e-05/0.003489, allocations: 15.97 kB / 0.5212 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.763e-05/0.003567, allocations: 23.92 kB / 0.5212 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.377e-05/0.003621, allocations: 7.984 kB / 0.5212 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.003641, allocations: 5.188 kB / 0.5212 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.628e-06/0.003651, allocations: 0 / 0.5212 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.311e-05/0.003704, allocations: 11.98 kB / 0.5212 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.561e-05/0.003739, allocations: 18.7 kB / 0.5212 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.003854, allocations: 43.81 kB / 0.5213 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003856, allocations: 0 / 0.5213 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003857, allocations: 0 / 0.5213 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.00386, allocations: 0 / 0.5213 GB, free: 0.8906 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.000509/0.004369, allocations: 368.2 kB / 0.5216 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.004411, allocations: 16.02 kB / 0.5216 GB, free: 488 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/0.004456, allocations: 5.438 kB / 0.5216 GB, free: 484 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.004621, allocations: 121.1 kB / 0.5218 GB, free: 336 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.004639, allocations: 384 / 0.5218 GB, free: 336 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.004654, allocations: 9.344 kB / 0.5218 GB, free: 328 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.004838, allocations: 54.17 kB / 0.5218 GB, free: 268 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.004847, allocations: 1.812 kB / 0.5218 GB, free: 268 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.004858, allocations: 4.375 kB / 0.5218 GB, free: 264 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.004864, allocations: 4.375 kB / 0.5218 GB, free: 260 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.005001, allocations: 31.91 kB / 0.5219 GB, free: 228 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005641/0.005566, allocations: 272.7 kB / 0.5221 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.005715, allocations: 44.39 kB / 0.5222 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.501e-05/0.00579, allocations: 23.73 kB / 0.5222 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.005812, allocations: 3.938 kB / 0.5222 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.005847, allocations: 38.55 kB / 0.5222 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.005848, allocations: 0 / 0.5222 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0003124/0.00616, allocations: 70.31 kB / 0.5223 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.006209, allocations: 56.62 kB / 0.5223 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.00635, allocations: 169.9 kB / 0.5225 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.006372, allocations: 29.7 kB / 0.5225 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.581e-05/0.006458, allocations: 130.8 kB / 0.5227 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.417e-05/0.006472, allocations: 5.281 kB / 0.5227 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-05/0.006522, allocations: 27.36 kB / 0.5227 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002665/0.006789, allocations: 496.1 kB / 0.5232 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.642e-05/0.006855, allocations: 12.67 kB / 0.5232 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.173e-05/0.006907, allocations: 15.16 kB / 0.5232 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.007017, allocations: 31.67 kB / 0.5232 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.007019, allocations: 256 / 0.5232 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001696/0.007189, allocations: 69.5 kB / 0.5233 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.007203, allocations: 4 kB / 0.5233 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.007209, allocations: 10.72 kB / 0.5233 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.007225, allocations: 0 / 0.5233 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.057e-05/0.007315, allocations: 7.984 kB / 0.5233 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.007323, allocations: 4 kB / 0.5233 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.68e-05/0.00736, allocations: 0 / 0.5233 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.007365, allocations: 0 / 0.5233 GB, free: 14.61 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 0.0001223/0.007488, allocations: 160.6 kB / 0.5235 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.007515, allocations: 5.25 kB / 0.5235 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.024e-05/0.007545, allocations: 7.312 kB / 0.5235 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.007546, allocations: 0 / 0.5235 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.007549, allocations: 0.5 kB / 0.5235 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.007556, allocations: 3.984 kB / 0.5235 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.007717, allocations: 121.8 kB / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.00772, allocations: 3.984 kB / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.639e-05/0.007777, allocations: 4.5 kB / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.007782, allocations: 3.938 kB / 0.5236 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.007789, allocations: 6 kB / 0.5236 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.00779, allocations: 0 / 0.5236 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.007791, allocations: 0 / 0.5236 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.008057, allocations: 207.9 kB / 0.5238 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.161e-05/0.008069, allocations: 10.39 kB / 0.5238 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.008086, allocations: 3.938 kB / 0.5238 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.959e-05/0.008155, allocations: 3.984 kB / 0.5238 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.008205, allocations: 8 kB / 0.5238 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.008209, allocations: 0 / 0.5238 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.794e-05/0.008287, allocations: 127.2 kB / 0.524 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.008287, allocations: 2.25 kB / 0.524 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002232/0.00851, allocations: 8 kB / 0.524 GB, free: 13.88 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 0.0001159/0.008626, allocations: 91.25 kB / 0.5241 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001875/0.008814, allocations: 40.7 kB / 0.5241 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.008815, allocations: 0 / 0.5241 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.976e-05/0.008895, allocations: 28.55 kB / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.009154, allocations: 11.98 kB / 0.5241 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003733/0.009527, allocations: 138.4 kB / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.423e-05/0.009601, allocations: 63.34 kB / 0.5243 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.522e-05/0.009637, allocations: 9.219 kB / 0.5243 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.009677, allocations: 9.156 kB / 0.5243 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of SimCode: time 3.91e-07/0.009677, allocations: 0 / 0.5243 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.0035/0.01318, allocations: 0.6629 MB / 0.525 GB, free: 12.8 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: 6.278143378091045]