Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.002062/0.002062, allocations: 81.5 kB / 19.44 MB, free: 344 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.002172/0.002172, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.583/1.583, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.318/1.318, allocations: 154.8 MB / 414.4 MB, free: 452 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.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 0.5198 GB, free: 2.32 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.492e-05/3.76e-05, allocations: 6.312 kB / 0.5198 GB, free: 2.312 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002036/0.002074, allocations: 0.6323 MB / 0.5205 GB, free: 1.703 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.003304, allocations: 0.8255 MB / 0.5213 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.438e-05/0.003349, allocations: 1.281 kB / 0.5213 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.672e-05/0.003445, allocations: 0.6562 kB / 0.5213 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.055e-05/0.003476, allocations: 11.88 kB / 0.5213 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001212/0.003597, allocations: 13.23 kB / 0.5213 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.003701, allocations: 27.92 kB / 0.5213 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.367e-05/0.003785, allocations: 0 / 0.5213 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.754e-05/0.003863, allocations: 12.67 kB / 0.5213 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.286e-05/0.003925, allocations: 11.98 kB / 0.5213 GB, free: 0.793 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.003947, allocations: 9.781 kB / 0.5214 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.565e-06/0.003955, allocations: 0 / 0.5214 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.904e-05/0.004014, allocations: 11.98 kB / 0.5214 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.885e-05/0.004052, allocations: 7.984 kB / 0.5214 GB, free: 0.7656 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.969e-05/0.004152, allocations: 27.89 kB / 0.5214 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.004155, allocations: 1.781 kB / 0.5214 GB, free: 0.7383 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.004159, allocations: 4 kB / 0.5214 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.004163, allocations: 0 / 0.5214 GB, free: 0.7344 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005743/0.004738, allocations: 364.2 kB / 0.5218 GB, free: 348 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.004783, allocations: 8.031 kB / 0.5218 GB, free: 340 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.39e-05/0.004827, allocations: 5.438 kB / 0.5218 GB, free: 336 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.005012, allocations: 122 kB / 0.5219 GB, free: 188 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.005025, allocations: 384 / 0.5219 GB, free: 188 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.005041, allocations: 8.375 kB / 0.5219 GB, free: 180 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.005199, allocations: 46.25 kB / 0.5219 GB, free: 128 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.005209, allocations: 1.156 kB / 0.5219 GB, free: 128 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.597e-06/0.005218, allocations: 384 / 0.5219 GB, free: 128 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.005222, allocations: 1.344 kB / 0.5219 GB, free: 128 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.005325, allocations: 23.92 kB / 0.522 GB, free: 104 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004562/0.005781, allocations: 272.8 kB / 0.5222 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.00589, allocations: 31.06 kB / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.581e-05/0.005956, allocations: 21.27 kB / 0.5223 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.005972, allocations: 4 kB / 0.5223 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.00601, allocations: 37.33 kB / 0.5223 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.006011, allocations: 1.219 kB / 0.5223 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0002779/0.006289, allocations: 59.41 kB / 0.5224 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.006342, allocations: 55.39 kB / 0.5224 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.006482, allocations: 161.9 kB / 0.5226 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.006505, allocations: 25.7 kB / 0.5226 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.479e-05/0.006599, allocations: 138.8 kB / 0.5227 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.006617, allocations: 5.812 kB / 0.5227 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/0.006658, allocations: 19.31 kB / 0.5228 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002754/0.006933, allocations: 496.1 kB / 0.5232 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003264/0.007259, allocations: 11.98 kB / 0.5232 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.849e-05/0.007298, allocations: 5.656 kB / 0.5232 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.937e-05/0.007387, allocations: 27.67 kB / 0.5233 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.007389, allocations: 3.938 kB / 0.5233 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001645/0.007554, allocations: 58.33 kB / 0.5233 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.00757, allocations: 5.406 kB / 0.5233 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.007575, allocations: 256 / 0.5233 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.007591, allocations: 0 / 0.5233 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.652e-05/0.007668, allocations: 13.02 kB / 0.5234 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.007673, allocations: 0 / 0.5234 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.992e-05/0.007703, allocations: 4 kB / 0.5234 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.007709, allocations: 0.9375 kB / 0.5234 GB, free: 14.55 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001252/0.007834, allocations: 160.5 kB / 0.5235 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.007857, allocations: 7.094 kB / 0.5235 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/0.007884, allocations: 3.156 kB / 0.5235 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.007888, allocations: 3.984 kB / 0.5235 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.007894, allocations: 3.984 kB / 0.5235 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.007896, allocations: 4 kB / 0.5235 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.008062, allocations: 116.6 kB / 0.5236 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.008063, allocations: 0 / 0.5236 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.923e-05/0.008102, allocations: 7.984 kB / 0.5236 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.008104, allocations: 2.781 kB / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.008113, allocations: 7.875 kB / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.008114, allocations: 0 / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.008118, allocations: 4 kB / 0.5237 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.008366, allocations: 191.9 kB / 0.5238 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.696e-06/0.008375, allocations: 3.984 kB / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.008389, allocations: 5.25 kB / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.56e-05/0.008445, allocations: 4 kB / 0.5239 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.008488, allocations: 0 / 0.5239 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.00849, allocations: 0 / 0.5239 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.431e-05/0.008575, allocations: 132.7 kB / 0.524 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.008575, allocations: 0 / 0.524 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002047/0.008779, allocations: 7.953 kB / 0.524 GB, free: 13.84 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0001442/0.008923, allocations: 100.5 kB / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001703/0.009094, allocations: 32.27 kB / 0.5241 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.009095, allocations: 0 / 0.5241 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.039e-05/0.009156, allocations: 20.52 kB / 0.5241 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.009423, allocations: 4.5 kB / 0.5241 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003629/0.009786, allocations: 128.2 kB / 0.5243 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.577e-05/0.009872, allocations: 63.34 kB / 0.5243 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.809e-05/0.0099, allocations: 0 / 0.5243 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.75e-05/0.009937, allocations: 14.94 kB / 0.5243 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of SimCode: time 5.92e-07/0.009938, allocations: 0 / 0.5243 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of Templates: time 0.003171/0.01311, allocations: 464.9 kB / 0.5248 GB, free: 12.99 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.10599861794617]