Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.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.002386/0.002386, allocations: 85.48 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.002146/0.002146, allocations: 173.6 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.565/1.565, allocations: 177.1 MB / 203.1 MB, free: 5.445 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.388/1.388, allocations: 154.8 MB / 414.3 MB, free: 360 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.Reals.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.5199 GB, free: 2.184 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.876e-05/3.09e-05, allocations: 5.219 kB / 0.5199 GB, free: 2.18 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Max): time 0.001842/0.001873, allocations: 0.6866 MB / 0.5206 GB, free: 1.52 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.003003, allocations: 0.8326 MB / 0.5214 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.52e-05/0.003038, allocations: 0.5 kB / 0.5214 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.062e-05/0.003059, allocations: 1.031 kB / 0.5214 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.666e-05/0.003136, allocations: 20.08 kB / 0.5214 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.422e-05/0.00323, allocations: 8.766 kB / 0.5214 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.207e-05/0.003322, allocations: 47.84 kB / 0.5215 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.54e-05/0.003407, allocations: 4.625 kB / 0.5215 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.023e-05/0.003498, allocations: 27.91 kB / 0.5215 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.402e-05/0.003552, allocations: 16.67 kB / 0.5215 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.003573, allocations: 4 kB / 0.5215 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.036e-05/0.003583, allocations: 1.156 kB / 0.5215 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.003602, allocations: 11.98 kB / 0.5215 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.051e-05/0.003632, allocations: 15.92 kB / 0.5216 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.003758, allocations: 45.62 kB / 0.5216 GB, free: 492 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.003762, allocations: 3.984 kB / 0.5216 GB, free: 488 kB / 490.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003763, allocations: 0 / 0.5216 GB, free: 488 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.003767, allocations: 0 / 0.5216 GB, free: 488 kB / 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.0005547/0.004321, allocations: 378 kB / 0.522 GB, free: 72 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.00436, allocations: 11.97 kB / 0.522 GB, free: 60 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.893e-05/0.004409, allocations: 8.891 kB / 0.522 GB, free: 52 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.004551, allocations: 112.6 kB / 0.5221 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.004566, allocations: 5.125 kB / 0.5221 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.004579, allocations: 4.375 kB / 0.5221 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.004784, allocations: 55.64 kB / 0.5221 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.004792, allocations: 192 / 0.5221 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.004807, allocations: 4.375 kB / 0.5222 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.004811, allocations: 384 / 0.5222 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.004992, allocations: 45.19 kB / 0.5222 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.005409, allocations: 271.8 kB / 0.5225 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.005575, allocations: 56.88 kB / 0.5225 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.005689, allocations: 27.77 kB / 0.5225 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.005711, allocations: 0 / 0.5225 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.005749, allocations: 39.55 kB / 0.5226 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.00575, allocations: 3.938 kB / 0.5226 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0003955/0.006146, allocations: 93.78 kB / 0.5227 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.006192, allocations: 55.95 kB / 0.5227 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.00633, allocations: 173.9 kB / 0.5229 GB, free: 15 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.00635, allocations: 26.7 kB / 0.5229 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.549e-05/0.006436, allocations: 138.8 kB / 0.523 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.006455, allocations: 7.953 kB / 0.5231 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.006502, allocations: 24.03 kB / 0.5231 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002657/0.006768, allocations: 0.4935 MB / 0.5236 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.218e-05/0.00686, allocations: 15.98 kB / 0.5236 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.885e-05/0.006949, allocations: 24.91 kB / 0.5236 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.007124, allocations: 53.12 kB / 0.5236 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.007126, allocations: 0 / 0.5236 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002223/0.007348, allocations: 73.67 kB / 0.5237 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.007365, allocations: 12.95 kB / 0.5237 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.007369, allocations: 0 / 0.5237 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.007382, allocations: 0 / 0.5237 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.414e-05/0.007476, allocations: 8.688 kB / 0.5237 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.00748, allocations: 0 / 0.5237 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.256e-05/0.007552, allocations: 15.19 kB / 0.5238 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.007562, allocations: 4 kB / 0.5238 GB, free: 14.08 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 (3): * Single equations (assignments): 3 * 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.000113/0.007675, allocations: 160.5 kB / 0.5239 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.007707, allocations: 7.938 kB / 0.5239 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002679/0.007975, allocations: 85.59 kB / 0.524 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.007981, allocations: 3.984 kB / 0.524 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.007984, allocations: 3.031 kB / 0.524 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.007989, allocations: 4 kB / 0.524 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.008154, allocations: 124.6 kB / 0.5241 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.008155, allocations: 0 / 0.5241 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.027e-05/0.008225, allocations: 8 kB / 0.5241 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.008227, allocations: 0 / 0.5241 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.008234, allocations: 0 / 0.5241 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.008238, allocations: 3.938 kB / 0.5241 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.008241, allocations: 5.484 kB / 0.5241 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.008582, allocations: 227.8 kB / 0.5244 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.193e-05/0.008594, allocations: 7.938 kB / 0.5244 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.00861, allocations: 4.484 kB / 0.5244 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.07e-05/0.00869, allocations: 10.72 kB / 0.5244 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.008733, allocations: 7.984 kB / 0.5244 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.008737, allocations: 0 / 0.5244 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.081e-05/0.008828, allocations: 131.2 kB / 0.5245 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.008828, allocations: 0 / 0.5245 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002111/0.009039, allocations: 8 kB / 0.5245 GB, free: 13.23 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 (3): * Single equations (assignments): 3 * 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.0001194/0.009158, allocations: 97.67 kB / 0.5246 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002538/0.009412, allocations: 51.66 kB / 0.5247 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.009416, allocations: 7.938 kB / 0.5247 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.009528, allocations: 31.67 kB / 0.5247 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.009784, allocations: 10.42 kB / 0.5247 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003327/0.01012, allocations: 130.2 kB / 0.5248 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.111e-05/0.01019, allocations: 64.38 kB / 0.5249 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.036e-05/0.01022, allocations: 8.984 kB / 0.5249 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.585e-05/0.01025, allocations: 8.5 kB / 0.5249 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/0.01025, allocations: 1.406 kB / 0.5249 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of Templates: time 0.00353/0.01378, allocations: 0.7461 MB / 0.5256 GB, free: 12.05 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.99388581700623]