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.001061/0.001061, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001011/0.001011, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.089/1.089, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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 0.777/0.777, allocations: 154.8 MB / 415.1 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 179] 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 2.785e-06/2.785e-06, allocations: 0 / 0.5206 GB, free: 2.281 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.052e-05/3.33e-05, allocations: 2.312 kB / 0.5206 GB, free: 2.277 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001881/0.001915, allocations: 0.6594 MB / 0.5212 GB, free: 1.641 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008434/0.002758, allocations: 0.8798 MB / 0.5221 GB, free: 0.75 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.789e-05/0.002806, allocations: 1.719 kB / 0.5221 GB, free: 0.75 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.635e-05/0.002902, allocations: 0 / 0.5221 GB, free: 0.75 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.422e-05/0.002926, allocations: 7.875 kB / 0.5221 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.003087, allocations: 19.91 kB / 0.5221 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.014e-05/0.003167, allocations: 41.38 kB / 0.5221 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.389e-05/0.003261, allocations: 0 / 0.5221 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.688e-05/0.003328, allocations: 23.92 kB / 0.5222 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.941e-05/0.003387, allocations: 15.92 kB / 0.5222 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.003412, allocations: 4.75 kB / 0.5222 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.077e-06/0.003421, allocations: 4 kB / 0.5222 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.204e-05/0.003473, allocations: 17.44 kB / 0.5222 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.701e-05/0.0035, allocations: 0 / 0.5222 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.00361, allocations: 27.91 kB / 0.5222 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.003613, allocations: 0 / 0.5222 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.003614, allocations: 1.344 kB / 0.5222 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.003619, allocations: 0 / 0.5222 GB, free: 0.5938 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.0004017/0.00402, allocations: 376.6 kB / 0.5226 GB, free: 192 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.004061, allocations: 8.031 kB / 0.5226 GB, free: 184 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.0041, allocations: 5.625 kB / 0.5226 GB, free: 180 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.004234, allocations: 123.8 kB / 0.5227 GB, free: 32 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.004253, allocations: 4.375 kB / 0.5227 GB, free: 28 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.004265, allocations: 4.312 kB / 0.5227 GB, free: 24 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.004416, allocations: 70.92 kB / 0.5228 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.004422, allocations: 192 / 0.5228 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.004432, allocations: 8.312 kB / 0.5228 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.004441, allocations: 384 / 0.5228 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.089e-05/0.004481, allocations: 11.94 kB / 0.5228 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003173/0.004799, allocations: 276.2 kB / 0.5231 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.719e-05/0.004856, allocations: 31.72 kB / 0.5231 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.128e-05/0.004877, allocations: 8.469 kB / 0.5231 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.004892, allocations: 8 kB / 0.5231 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.004916, allocations: 42.84 kB / 0.5232 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.004918, allocations: 0 / 0.5232 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.00017/0.005088, allocations: 41.64 kB / 0.5232 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.005118, allocations: 52.34 kB / 0.5233 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.705e-05/0.005195, allocations: 165.9 kB / 0.5234 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.005206, allocations: 30.98 kB / 0.5234 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.067e-05/0.005257, allocations: 134.8 kB / 0.5236 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.28e-05/0.00527, allocations: 0 / 0.5236 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.005309, allocations: 23.38 kB / 0.5236 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.005426, allocations: 497.4 kB / 0.5241 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.565e-05/0.005452, allocations: 0 / 0.5241 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.878e-05/0.005471, allocations: 7.984 kB / 0.5241 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.48e-05/0.005506, allocations: 16.5 kB / 0.5241 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.005508, allocations: 1.531 kB / 0.5241 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.246e-05/0.00557, allocations: 49.53 kB / 0.5241 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.005584, allocations: 7.984 kB / 0.5242 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.005589, allocations: 5.344 kB / 0.5242 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.005604, allocations: 0 / 0.5242 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.838e-05/0.005682, allocations: 12 kB / 0.5242 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.005687, allocations: 2.812 kB / 0.5242 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.973e-05/0.005707, allocations: 0 / 0.5242 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.005713, allocations: 11.92 kB / 0.5242 GB, free: 14.4 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.527e-05/0.005779, allocations: 152.6 kB / 0.5243 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/0.005793, allocations: 7.938 kB / 0.5243 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.082e-05/0.005814, allocations: 7.312 kB / 0.5243 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.005816, allocations: 0 / 0.5243 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.005819, allocations: 2.75 kB / 0.5243 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.005822, allocations: 0 / 0.5243 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.333e-05/0.005915, allocations: 120.7 kB / 0.5245 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.005916, allocations: 0 / 0.5245 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.209e-05/0.005938, allocations: 7.984 kB / 0.5245 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.005941, allocations: 3.938 kB / 0.5245 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.005948, allocations: 0 / 0.5245 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.00595, allocations: 4.844 kB / 0.5245 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.005951, allocations: 3.938 kB / 0.5245 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.339e-05/0.006044, allocations: 192.9 kB / 0.5247 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-06/0.006049, allocations: 0 / 0.5247 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.006059, allocations: 4.812 kB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.188e-05/0.006091, allocations: 4 kB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.006133, allocations: 4.484 kB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.006138, allocations: 8 kB / 0.5247 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.178e-05/0.00617, allocations: 120.7 kB / 0.5248 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.00617, allocations: 4 kB / 0.5248 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001344/0.006304, allocations: 4 kB / 0.5248 GB, free: 13.7 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 8.413e-05/0.006388, allocations: 97.67 kB / 0.5249 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.611e-05/0.006474, allocations: 23.62 kB / 0.5249 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.006478, allocations: 4 kB / 0.5249 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.049e-05/0.006498, allocations: 15.67 kB / 0.5249 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001704/0.006668, allocations: 6.75 kB / 0.5249 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002665/0.006935, allocations: 134.1 kB / 0.5251 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.932e-05/0.006974, allocations: 59.34 kB / 0.5251 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.344e-05/0.006998, allocations: 0.8125 kB / 0.5251 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.33e-05/0.007031, allocations: 17.66 kB / 0.5252 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of SimCode: time 9.01e-07/0.007032, allocations: 0 / 0.5252 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of Templates: time 0.002193/0.009225, allocations: 0.6584 MB / 0.5258 GB, free: 12.67 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8571257810108364]