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.0008296/0.0008296, allocations: 82.05 kB / 19.87 MB, free: 4.617 MB / 18.57 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.00095/0.00095, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.8921/0.8921, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.7376/0.7376, allocations: 154.6 MB / 414.8 MB, free: 0.5352 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 1.293e-06/1.293e-06, allocations: 0 / 0.5208 GB, free: 1.91 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.167e-05/1.297e-05, allocations: 4 kB / 0.5208 GB, free: 1.906 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001297/0.00131, allocations: 0.6611 MB / 0.5214 GB, free: 1.27 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007162/0.002026, allocations: 0.8797 MB / 0.5223 GB, free: 388 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.184e-05/0.002068, allocations: 0 / 0.5223 GB, free: 388 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 7.755e-05/0.002146, allocations: 0.5625 kB / 0.5223 GB, free: 388 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.786e-05/0.002173, allocations: 8.984 kB / 0.5223 GB, free: 380 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001228/0.002296, allocations: 20.78 kB / 0.5223 GB, free: 360 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.781e-05/0.002354, allocations: 35.92 kB / 0.5223 GB, free: 324 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.622e-05/0.00243, allocations: 3.984 kB / 0.5223 GB, free: 320 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.772e-05/0.002488, allocations: 24.42 kB / 0.5224 GB, free: 296 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.703e-05/0.002535, allocations: 21.41 kB / 0.5224 GB, free: 276 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.00255, allocations: 4 kB / 0.5224 GB, free: 272 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.035e-06/0.002558, allocations: 4 kB / 0.5224 GB, free: 268 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.936e-05/0.002598, allocations: 8 kB / 0.5224 GB, free: 260 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.178e-05/0.002619, allocations: 4.922 kB / 0.5224 GB, free: 256 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 6.932e-05/0.002689, allocations: 31.89 kB / 0.5224 GB, free: 224 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.002691, allocations: 0 / 0.5224 GB, free: 224 kB / 490.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.002691, allocations: 1.531 kB / 0.5224 GB, free: 224 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.002694, allocations: 0 / 0.5224 GB, free: 224 kB / 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.0003474/0.003042, allocations: 368.6 kB / 0.5228 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.003077, allocations: 13.05 kB / 0.5228 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.441e-05/0.003101, allocations: 8.938 kB / 0.5228 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.526e-05/0.003196, allocations: 112.6 kB / 0.5229 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.003211, allocations: 9.062 kB / 0.5229 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-06/0.003218, allocations: 4.312 kB / 0.5229 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.003326, allocations: 60.22 kB / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.003332, allocations: 192 / 0.523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.003341, allocations: 8.375 kB / 0.523 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.003346, allocations: 0.9688 kB / 0.523 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.252e-05/0.003368, allocations: 12.92 kB / 0.523 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/0.003578, allocations: 256.2 kB / 0.5232 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.316e-05/0.003621, allocations: 35.55 kB / 0.5233 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.464e-05/0.003635, allocations: 12.28 kB / 0.5233 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.003651, allocations: 6.094 kB / 0.5233 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.00367, allocations: 37.33 kB / 0.5233 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.00367, allocations: 0 / 0.5233 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001048/0.003775, allocations: 45.62 kB / 0.5234 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.937e-05/0.003795, allocations: 55.41 kB / 0.5234 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.802e-05/0.003853, allocations: 163.3 kB / 0.5236 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.314e-06/0.00386, allocations: 25.7 kB / 0.5236 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.906e-05/0.003899, allocations: 134.8 kB / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.209e-05/0.003911, allocations: 9.453 kB / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/0.003935, allocations: 19.38 kB / 0.5238 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.345e-05/0.004028, allocations: 496.1 kB / 0.5242 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.025e-05/0.004038, allocations: 4 kB / 0.5242 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.222e-05/0.004051, allocations: 0.9375 kB / 0.5242 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.62e-05/0.004077, allocations: 17.19 kB / 0.5243 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.004078, allocations: 0 / 0.5243 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.82e-05/0.004126, allocations: 49.58 kB / 0.5243 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.004136, allocations: 8.438 kB / 0.5243 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/0.004139, allocations: 4 kB / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.004149, allocations: 1.031 kB / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.226e-05/0.004201, allocations: 4.25 kB / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/0.004204, allocations: 5.047 kB / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/0.004223, allocations: 8 kB / 0.5243 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-06/0.004226, allocations: 0 / 0.5243 GB, free: 14.08 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 5.63e-05/0.004283, allocations: 153.2 kB / 0.5245 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.004296, allocations: 8.438 kB / 0.5245 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.654e-05/0.004313, allocations: 12.34 kB / 0.5245 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.004314, allocations: 0 / 0.5245 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.004315, allocations: 3.938 kB / 0.5245 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.004319, allocations: 7.969 kB / 0.5245 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.766e-05/0.004397, allocations: 103.8 kB / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.004398, allocations: 0 / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.914e-05/0.004417, allocations: 7.984 kB / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.004418, allocations: 0 / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-06/0.004421, allocations: 0 / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.004423, allocations: 3.938 kB / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.004424, allocations: 10.38 kB / 0.5246 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.865e-05/0.004503, allocations: 187.9 kB / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-06/0.004508, allocations: 4 kB / 0.5248 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.793e-06/0.004515, allocations: 0 / 0.5248 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.174e-05/0.004547, allocations: 7.938 kB / 0.5248 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.004576, allocations: 7.984 kB / 0.5248 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.004578, allocations: 1.75 kB / 0.5248 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.71e-05/0.004605, allocations: 123.2 kB / 0.5249 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.004605, allocations: 0 / 0.5249 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001272/0.004733, allocations: 4 kB / 0.5249 GB, free: 13.4 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 5.903e-05/0.004792, allocations: 100.3 kB / 0.525 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.241e-05/0.004844, allocations: 24.55 kB / 0.5251 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.32e-07/0.004845, allocations: 0 / 0.5251 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.612e-05/0.004861, allocations: 18.92 kB / 0.5251 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.005015, allocations: 8 kB / 0.5251 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001843/0.005199, allocations: 130.1 kB / 0.5252 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.022e-05/0.005229, allocations: 59.34 kB / 0.5253 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.953e-05/0.005249, allocations: 7.031 kB / 0.5253 GB, free: 13 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.287e-05/0.005292, allocations: 74.2 kB / 0.5254 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of SimCode: time 4.9e-07/0.005292, allocations: 0 / 0.5254 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of Templates: time 0.001759/0.007051, allocations: 0.7029 MB / 0.526 GB, free: 12.26 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.31405142089352]