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.001031/0.001031, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.000928/0.000928, allocations: 173 kB / 23.49 MB, free: 1.059 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.9475/0.9475, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.8621/0.8621, allocations: 154.6 MB / 414.9 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 1.783e-06/1.783e-06, allocations: 0 / 0.5203 GB, free: 2.531 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.483e-05/1.661e-05, allocations: 3.781 kB / 0.5203 GB, free: 2.527 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001384/0.0014, allocations: 0.662 MB / 0.521 GB, free: 1.887 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009078/0.002308, allocations: 0.8702 MB / 0.5218 GB, free: 1.004 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.563e-05/0.002354, allocations: 4.969 kB / 0.5218 GB, free: 1 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 8.788e-05/0.002442, allocations: 0 / 0.5218 GB, free: 1 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.611e-05/0.002468, allocations: 8.922 kB / 0.5218 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001544/0.002622, allocations: 23.91 kB / 0.5219 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.429e-05/0.002706, allocations: 27.92 kB / 0.5219 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.002812, allocations: 12.91 kB / 0.5219 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.538e-05/0.002877, allocations: 19.92 kB / 0.5219 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.012e-05/0.002937, allocations: 17.59 kB / 0.5219 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.002961, allocations: 4 kB / 0.5219 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.819e-06/0.002971, allocations: 4 kB / 0.5219 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.281e-05/0.003024, allocations: 11.92 kB / 0.522 GB, free: 0.875 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.003056, allocations: 8 kB / 0.522 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.463e-05/0.003151, allocations: 32.39 kB / 0.522 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.003152, allocations: 0.7812 kB / 0.522 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.003153, allocations: 0 / 0.522 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.003157, allocations: 1.219 kB / 0.522 GB, free: 0.8359 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.000354/0.003511, allocations: 368.6 kB / 0.5223 GB, free: 448 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.003546, allocations: 8.031 kB / 0.5224 GB, free: 440 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.00359, allocations: 9.562 kB / 0.5224 GB, free: 432 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.003718, allocations: 118.4 kB / 0.5225 GB, free: 288 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.003737, allocations: 8.375 kB / 0.5225 GB, free: 280 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.003748, allocations: 4.312 kB / 0.5225 GB, free: 276 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.003882, allocations: 62.94 kB / 0.5225 GB, free: 204 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.003888, allocations: 192 / 0.5225 GB, free: 204 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.003898, allocations: 6 kB / 0.5226 GB, free: 200 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.003905, allocations: 384 / 0.5226 GB, free: 200 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.363e-05/0.003948, allocations: 19.92 kB / 0.5226 GB, free: 180 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00031/0.004258, allocations: 279.6 kB / 0.5228 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.954e-05/0.004318, allocations: 36.34 kB / 0.5229 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.518e-05/0.004343, allocations: 11.67 kB / 0.5229 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.004356, allocations: 4.562 kB / 0.5229 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.004381, allocations: 38.2 kB / 0.5229 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.004381, allocations: 0 / 0.5229 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001578/0.004539, allocations: 47.11 kB / 0.523 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.004569, allocations: 51.41 kB / 0.523 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.682e-05/0.004645, allocations: 161.9 kB / 0.5232 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.004656, allocations: 26.92 kB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.936e-05/0.004705, allocations: 146.8 kB / 0.5233 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.279e-05/0.004718, allocations: 0 / 0.5233 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.004751, allocations: 19.38 kB / 0.5234 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.004867, allocations: 0.4919 MB / 0.5238 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.737e-05/0.004884, allocations: 3.984 kB / 0.5238 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.256e-05/0.004897, allocations: 4 kB / 0.5238 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.053e-05/0.004927, allocations: 11.69 kB / 0.5239 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.004929, allocations: 0 / 0.5239 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.851e-05/0.004997, allocations: 57.52 kB / 0.5239 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.005008, allocations: 4 kB / 0.5239 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.005012, allocations: 0.5625 kB / 0.5239 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.005023, allocations: 1.812 kB / 0.5239 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.437e-05/0.005088, allocations: 8 kB / 0.5239 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.005092, allocations: 0 / 0.5239 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.358e-05/0.005116, allocations: 3.984 kB / 0.5239 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.00512, allocations: 0 / 0.5239 GB, free: 14.66 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.887e-05/0.005189, allocations: 158.7 kB / 0.5241 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.005213, allocations: 7.938 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.815e-05/0.005231, allocations: 10.91 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.005232, allocations: 0 / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.005235, allocations: 0 / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.005238, allocations: 2.75 kB / 0.5241 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.005349, allocations: 120.6 kB / 0.5242 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.00535, allocations: 0 / 0.5242 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.611e-05/0.005376, allocations: 7.984 kB / 0.5242 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.005379, allocations: 3.938 kB / 0.5242 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.005385, allocations: 0 / 0.5242 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.005387, allocations: 3.938 kB / 0.5242 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.005387, allocations: 1.781 kB / 0.5242 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.005498, allocations: 191.9 kB / 0.5244 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-06/0.005504, allocations: 4 kB / 0.5244 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.005517, allocations: 7.938 kB / 0.5244 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.925e-05/0.005566, allocations: 8.875 kB / 0.5244 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.005608, allocations: 7.984 kB / 0.5244 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.005611, allocations: 0.9375 kB / 0.5244 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.752e-05/0.005648, allocations: 123.2 kB / 0.5246 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.005649, allocations: 0.5312 kB / 0.5246 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002089/0.005857, allocations: 15.98 kB / 0.5246 GB, free: 13.94 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 7.343e-05/0.005931, allocations: 92.69 kB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.742e-05/0.006008, allocations: 20.44 kB / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.00601, allocations: 0 / 0.5247 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.784e-05/0.006038, allocations: 22.42 kB / 0.5247 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.006257, allocations: 11.94 kB / 0.5247 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002659/0.006523, allocations: 134.1 kB / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.675e-05/0.00656, allocations: 55.34 kB / 0.5249 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.335e-05/0.006583, allocations: 7.125 kB / 0.5249 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/0.006613, allocations: 12.5 kB / 0.5249 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of SimCode: time 4.8e-07/0.006613, allocations: 0 / 0.5249 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of Templates: time 0.002263/0.008876, allocations: 0.6548 MB / 0.5256 GB, free: 12.91 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.825723041081801]