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.001405/0.001405, allocations: 88.72 kB / 19.44 MB, free: 356 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.001576/0.001576, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.517/1.517, allocations: 177.1 MB / 203.1 MB, free: 5.594 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.252/1.252, allocations: 154.6 MB / 414.2 MB, free: 0.625 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 5.981e-06/5.981e-06, allocations: 4 kB / 0.5196 GB, free: 2.523 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.196e-05/3.794e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.52 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001838/0.001876, allocations: 0.6488 MB / 0.5202 GB, free: 1.895 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.003176, allocations: 0.8478 MB / 0.5211 GB, free: 1.035 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.55e-05/0.003221, allocations: 3.938 kB / 0.5211 GB, free: 1.031 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.99e-05/0.003321, allocations: 3.938 kB / 0.5211 GB, free: 1.027 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.566e-05/0.003347, allocations: 6.031 kB / 0.5211 GB, free: 1.023 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.003524, allocations: 19.98 kB / 0.5211 GB, free: 1.004 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.6e-05/0.00361, allocations: 31.91 kB / 0.5211 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.528e-05/0.003705, allocations: 8 kB / 0.5211 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.04e-05/0.003785, allocations: 15.92 kB / 0.5212 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.479e-05/0.00386, allocations: 12.52 kB / 0.5212 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.003882, allocations: 7.984 kB / 0.5212 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.366e-05/0.003896, allocations: 4.5 kB / 0.5212 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.89e-05/0.003955, allocations: 12.98 kB / 0.5212 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.021e-05/0.003995, allocations: 11.94 kB / 0.5212 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.004112, allocations: 43.8 kB / 0.5213 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.004115, allocations: 0.7188 kB / 0.5213 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.004116, allocations: 0 / 0.5213 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.004119, allocations: 1.156 kB / 0.5213 GB, free: 0.8594 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.0005325/0.004652, allocations: 274.3 kB / 0.5215 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.004699, allocations: 13.03 kB / 0.5215 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.988e-05/0.004749, allocations: 12.86 kB / 0.5215 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.004939, allocations: 113.7 kB / 0.5216 GB, free: 408 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.004962, allocations: 5.906 kB / 0.5217 GB, free: 404 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.004976, allocations: 4.375 kB / 0.5217 GB, free: 400 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.00521, allocations: 58.23 kB / 0.5217 GB, free: 336 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.005222, allocations: 5.156 kB / 0.5217 GB, free: 332 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.005235, allocations: 384 / 0.5217 GB, free: 332 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.00524, allocations: 4.375 kB / 0.5217 GB, free: 328 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002242/0.005464, allocations: 53.84 kB / 0.5218 GB, free: 276 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004194/0.005883, allocations: 208.5 kB / 0.522 GB, free: 36 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.006068, allocations: 47.34 kB / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.006176, allocations: 21.75 kB / 0.522 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.006195, allocations: 8.594 kB / 0.522 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.985e-05/0.006295, allocations: 30.56 kB / 0.5221 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.006296, allocations: 0.8438 kB / 0.5221 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.000467/0.006763, allocations: 95.77 kB / 0.5222 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.00684, allocations: 51.41 kB / 0.5222 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.00699, allocations: 113.8 kB / 0.5223 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.007017, allocations: 25.7 kB / 0.5224 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.007117, allocations: 89.16 kB / 0.5224 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.007142, allocations: 4.062 kB / 0.5224 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.007187, allocations: 13.72 kB / 0.5225 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002331/0.00742, allocations: 324.2 kB / 0.5228 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.007522, allocations: 15.98 kB / 0.5228 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.926e-05/0.007612, allocations: 17.02 kB / 0.5228 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.007818, allocations: 46.31 kB / 0.5228 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.007823, allocations: 7.828 kB / 0.5228 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000254/0.008077, allocations: 75.08 kB / 0.5229 GB, free: 15 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.008102, allocations: 11.94 kB / 0.5229 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.008111, allocations: 0.5 kB / 0.5229 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.905e-05/0.00814, allocations: 0.7188 kB / 0.5229 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.008283, allocations: 12.61 kB / 0.5229 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.008293, allocations: 0 / 0.5229 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.119e-05/0.008354, allocations: 8.703 kB / 0.523 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.008361, allocations: 0 / 0.523 GB, free: 14.96 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.0002681/0.008629, allocations: 114.9 kB / 0.5231 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.008657, allocations: 3.938 kB / 0.5231 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.008683, allocations: 5.094 kB / 0.5231 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.008689, allocations: 3.984 kB / 0.5231 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.008696, allocations: 4 kB / 0.5231 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.0087, allocations: 0 / 0.5231 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.008887, allocations: 109.3 kB / 0.5232 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.008892, allocations: 6.812 kB / 0.5232 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.522e-05/0.008968, allocations: 7.984 kB / 0.5232 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.008973, allocations: 3.938 kB / 0.5232 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.008984, allocations: 0 / 0.5232 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.008985, allocations: 0 / 0.5232 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.008987, allocations: 4 kB / 0.5232 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003586/0.009345, allocations: 161.9 kB / 0.5234 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.012e-05/0.009365, allocations: 11.95 kB / 0.5234 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.009389, allocations: 3.938 kB / 0.5234 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.009489, allocations: 7.984 kB / 0.5234 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.621e-05/0.009566, allocations: 5.422 kB / 0.5234 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.009573, allocations: 4 kB / 0.5234 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.405e-05/0.009647, allocations: 83.28 kB / 0.5235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.009647, allocations: 0 / 0.5235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002266/0.009873, allocations: 5.031 kB / 0.5235 GB, free: 14.39 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.0001462/0.01002, allocations: 96.41 kB / 0.5236 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002401/0.01026, allocations: 47.2 kB / 0.5236 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.01026, allocations: 0 / 0.5236 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.01036, allocations: 23.91 kB / 0.5236 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.01065, allocations: 11.94 kB / 0.5236 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003923/0.01104, allocations: 124.5 kB / 0.5238 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.951e-05/0.01113, allocations: 67.33 kB / 0.5238 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.878e-05/0.01117, allocations: 7.031 kB / 0.5238 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.335e-05/0.01121, allocations: 12.5 kB / 0.5238 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of SimCode: time 4.21e-07/0.01121, allocations: 0 / 0.5238 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of Templates: time 0.003444/0.01466, allocations: 0.6707 MB / 0.5245 GB, free: 13.31 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.952431468991563]