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.001447/0.001447, allocations: 92.22 kB / 19.65 MB, free: 276 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.001769/0.001769, 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 1.074/1.074, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.8193/0.8193, allocations: 154.6 MB / 414.5 MB, free: 0.6719 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 2.565e-06/2.565e-06, allocations: 0 / 0.5203 GB, free: 2.215 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.825e-05/3.082e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.211 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001407/0.001438, allocations: 0.6581 MB / 0.521 GB, free: 1.574 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008975/0.002336, allocations: 0.8734 MB / 0.5218 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.786e-05/0.002384, allocations: 0.7656 kB / 0.5218 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.00249, allocations: 3.938 kB / 0.5218 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.697e-05/0.002517, allocations: 12.36 kB / 0.5218 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.002692, allocations: 19.92 kB / 0.5218 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.381e-05/0.002776, allocations: 33.59 kB / 0.5219 GB, free: 0.625 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.002881, allocations: 11.94 kB / 0.5219 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.796e-05/0.002949, allocations: 19.97 kB / 0.5219 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.824e-05/0.003007, allocations: 15.92 kB / 0.5219 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.003027, allocations: 4 kB / 0.5219 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.077e-06/0.003037, allocations: 0.5625 kB / 0.5219 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.61e-05/0.003093, allocations: 12.89 kB / 0.5219 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.976e-05/0.003122, allocations: 8 kB / 0.5219 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.003225, allocations: 31.89 kB / 0.522 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.003227, allocations: 1.125 kB / 0.522 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.003228, allocations: 0 / 0.522 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.003233, allocations: 0 / 0.522 GB, free: 0.5234 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.0003847/0.003617, allocations: 373.3 kB / 0.5223 GB, free: 124 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.003657, allocations: 9.062 kB / 0.5223 GB, free: 116 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.46e-05/0.003702, allocations: 4.938 kB / 0.5223 GB, free: 112 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.003847, allocations: 116.6 kB / 0.5225 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.003868, allocations: 9.844 kB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.003882, allocations: 4.375 kB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.004038, allocations: 62.94 kB / 0.5225 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.00405, allocations: 4.188 kB / 0.5225 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.00406, allocations: 1.469 kB / 0.5225 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.004069, allocations: 384 / 0.5225 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.843e-05/0.004107, allocations: 12.62 kB / 0.5225 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003082/0.004416, allocations: 283.6 kB / 0.5228 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.919e-05/0.004475, allocations: 36.28 kB / 0.5229 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.361e-05/0.004498, allocations: 11.75 kB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.004516, allocations: 5.094 kB / 0.5229 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.004538, allocations: 37.38 kB / 0.5229 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.00454, allocations: 4 kB / 0.5229 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.000155/0.004695, allocations: 42.42 kB / 0.5229 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.004723, allocations: 56.25 kB / 0.523 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.053e-05/0.004793, allocations: 161.9 kB / 0.5232 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.004804, allocations: 28.3 kB / 0.5232 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.121e-05/0.004855, allocations: 138.8 kB / 0.5233 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.49e-05/0.00487, allocations: 3.984 kB / 0.5233 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.004897, allocations: 19.38 kB / 0.5233 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.005009, allocations: 496.1 kB / 0.5238 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.921e-05/0.005028, allocations: 4 kB / 0.5238 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.257e-05/0.00504, allocations: 4.641 kB / 0.5238 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.17e-05/0.005072, allocations: 16.84 kB / 0.5238 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.005074, allocations: 0 / 0.5238 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.386e-05/0.005138, allocations: 49.53 kB / 0.5239 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.005151, allocations: 9.5 kB / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.005156, allocations: 3.984 kB / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.005172, allocations: 0 / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.135e-05/0.005254, allocations: 4.5 kB / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.005259, allocations: 0 / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.912e-05/0.005278, allocations: 5 kB / 0.5239 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.005282, allocations: 0 / 0.5239 GB, free: 14.35 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 7.752e-05/0.00536, allocations: 165.4 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.005375, allocations: 3.938 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.343e-05/0.005399, allocations: 7.531 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.005404, allocations: 7.938 kB / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.005407, allocations: 3.125 kB / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.00541, allocations: 3.984 kB / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.47e-05/0.005505, allocations: 116.6 kB / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.005506, allocations: 0 / 0.5242 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.556e-05/0.005541, allocations: 11.98 kB / 0.5242 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.005545, allocations: 7.875 kB / 0.5242 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.005551, allocations: 0 / 0.5242 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.005552, allocations: 256 / 0.5242 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.005553, allocations: 2.438 kB / 0.5242 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.00567, allocations: 195.9 kB / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.961e-06/0.005676, allocations: 0 / 0.5244 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.005689, allocations: 7.938 kB / 0.5244 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.233e-05/0.005722, allocations: 0 / 0.5244 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.005773, allocations: 11.98 kB / 0.5244 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.005776, allocations: 1.188 kB / 0.5244 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.611e-05/0.005812, allocations: 123.2 kB / 0.5245 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005812, allocations: 0 / 0.5245 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001391/0.005951, allocations: 8.875 kB / 0.5246 GB, free: 13.64 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 9.099e-05/0.006042, allocations: 100.4 kB / 0.5246 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.911e-05/0.006131, allocations: 20.19 kB / 0.5247 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.006132, allocations: 0 / 0.5247 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.203e-05/0.006154, allocations: 18.48 kB / 0.5247 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.006343, allocations: 14.58 kB / 0.5247 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003087/0.006652, allocations: 130.1 kB / 0.5248 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.486e-05/0.006697, allocations: 59.34 kB / 0.5249 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.842e-05/0.006725, allocations: 7.031 kB / 0.5249 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.883e-05/0.006764, allocations: 12.5 kB / 0.5249 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of SimCode: time 8.52e-07/0.006765, allocations: 0 / 0.5249 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of Templates: time 0.002704/0.009468, allocations: 0.6611 MB / 0.5255 GB, free: 12.59 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.964242270216346]