Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001625/0.001625, 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.002077/0.002077, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.498/1.498, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.249/1.249, allocations: 154.8 MB / 414.4 MB, free: 464 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.527e-06/3.527e-06, allocations: 0 / 0.5198 GB, free: 2.324 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.13e-05/4.483e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.32 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.0021/0.002145, allocations: 0.6548 MB / 0.5205 GB, free: 1.688 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.00345, allocations: 0.8565 MB / 0.5213 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.897e-05/0.003509, allocations: 0.9688 kB / 0.5213 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.003626, allocations: 7.875 kB / 0.5213 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.294e-05/0.003649, allocations: 1 kB / 0.5213 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.003836, allocations: 19.92 kB / 0.5213 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.571e-05/0.003931, allocations: 31.92 kB / 0.5214 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.004033, allocations: 8.641 kB / 0.5214 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.959e-05/0.004122, allocations: 25.41 kB / 0.5214 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.955e-05/0.004192, allocations: 11.98 kB / 0.5214 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.004214, allocations: 4 kB / 0.5214 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.321e-05/0.004227, allocations: 4 kB / 0.5214 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.951e-05/0.004287, allocations: 8.5 kB / 0.5214 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.42e-05/0.004341, allocations: 15.91 kB / 0.5214 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.004467, allocations: 40.91 kB / 0.5215 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.00447, allocations: 0 / 0.5215 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.004472, allocations: 1.125 kB / 0.5215 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.004477, allocations: 0 / 0.5215 GB, free: 0.6484 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.0005796/0.005057, allocations: 270.3 kB / 0.5217 GB, free: 360 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.005105, allocations: 12.66 kB / 0.5218 GB, free: 348 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.273e-05/0.005158, allocations: 2.438 kB / 0.5218 GB, free: 348 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.005361, allocations: 129.6 kB / 0.5219 GB, free: 192 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.005386, allocations: 384 / 0.5219 GB, free: 192 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.005402, allocations: 4.375 kB / 0.5219 GB, free: 188 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.005642, allocations: 68.02 kB / 0.522 GB, free: 116 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.005652, allocations: 192 / 0.522 GB, free: 116 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.005663, allocations: 384 / 0.522 GB, free: 116 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.005668, allocations: 384 / 0.522 GB, free: 116 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.005876, allocations: 49.64 kB / 0.522 GB, free: 68 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004731/0.006349, allocations: 216.5 kB / 0.5222 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.006515, allocations: 43.3 kB / 0.5222 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.006616, allocations: 26.3 kB / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.006641, allocations: 3.938 kB / 0.5223 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.006682, allocations: 38.5 kB / 0.5223 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.006683, allocations: 1.344 kB / 0.5223 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0004132/0.007096, allocations: 87.16 kB / 0.5224 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.007149, allocations: 55.41 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.007267, allocations: 105.8 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.007291, allocations: 29.7 kB / 0.5226 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.013e-05/0.007361, allocations: 90.5 kB / 0.5227 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.445e-05/0.007376, allocations: 0 / 0.5227 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/0.007421, allocations: 21.7 kB / 0.5227 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.007592, allocations: 310.8 kB / 0.523 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.282e-05/0.007684, allocations: 19.98 kB / 0.523 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.427e-05/0.007769, allocations: 21.09 kB / 0.523 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.007941, allocations: 45.64 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.007943, allocations: 1.531 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002152/0.008158, allocations: 73.55 kB / 0.5231 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.008176, allocations: 12.88 kB / 0.5232 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.008192, allocations: 3.984 kB / 0.5232 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.008212, allocations: 1.031 kB / 0.5232 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.008315, allocations: 4 kB / 0.5232 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.008321, allocations: 0.9375 kB / 0.5232 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.215e-05/0.008383, allocations: 7.984 kB / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.008391, allocations: 7.5 kB / 0.5232 GB, free: 14.77 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.0001784/0.00857, allocations: 109.8 kB / 0.5233 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.008605, allocations: 15.86 kB / 0.5233 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.75e-05/0.008632, allocations: 11.3 kB / 0.5233 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.008636, allocations: 4 kB / 0.5233 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.008641, allocations: 0 / 0.5233 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.008643, allocations: 0 / 0.5233 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.008805, allocations: 109.3 kB / 0.5234 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.008806, allocations: 3.031 kB / 0.5234 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.621e-05/0.008882, allocations: 11.98 kB / 0.5234 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.008887, allocations: 3.938 kB / 0.5234 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.008895, allocations: 0 / 0.5234 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.008896, allocations: 0 / 0.5234 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.008897, allocations: 0 / 0.5234 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.009201, allocations: 165 kB / 0.5236 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.433e-05/0.009215, allocations: 7.953 kB / 0.5236 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.009234, allocations: 7.922 kB / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.438e-05/0.009318, allocations: 4.5 kB / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/0.00938, allocations: 3.984 kB / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.009383, allocations: 6.375 kB / 0.5236 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.206e-05/0.009446, allocations: 87.28 kB / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.009446, allocations: 0 / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002226/0.009668, allocations: 4 kB / 0.5237 GB, free: 14.17 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.0001533/0.009822, allocations: 104.2 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000253/0.01007, allocations: 39.95 kB / 0.5238 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.01008, allocations: 0 / 0.5238 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.937e-05/0.01018, allocations: 19.98 kB / 0.5239 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.01045, allocations: 12.47 kB / 0.5239 GB, free: 14 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003935/0.01084, allocations: 128.4 kB / 0.524 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.951e-05/0.01093, allocations: 68.34 kB / 0.5241 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.89e-05/0.01097, allocations: 6.438 kB / 0.5241 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.25e-05/0.01102, allocations: 12.5 kB / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of SimCode: time 4.81e-07/0.01102, allocations: 4 kB / 0.5241 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of Templates: time 0.003413/0.01444, allocations: 0.6606 MB / 0.5247 GB, free: 13.11 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.939391816966236]