Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.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.002773/0.002773, allocations: 85.48 kB / 19.44 MB, free: 348 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.003412/0.003412, 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.63/1.63, allocations: 177.1 MB / 203.1 MB, free: 5.383 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.317/1.317, allocations: 154.8 MB / 414.3 MB, free: 392 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.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.185e-06/2.185e-06, allocations: 0 / 0.5199 GB, free: 2.223 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.915e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.219 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001745/0.001774, allocations: 0.6975 MB / 0.5206 GB, free: 1.547 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.002944, allocations: 0.8993 MB / 0.5215 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.632e-05/0.00297, allocations: 0 / 0.5215 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.967e-05/0.00299, allocations: 3.938 kB / 0.5215 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.175e-05/0.003041, allocations: 5.5 kB / 0.5215 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001213/0.003163, allocations: 23.91 kB / 0.5215 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.422e-05/0.003237, allocations: 47.84 kB / 0.5215 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.507e-05/0.003292, allocations: 8.938 kB / 0.5216 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.42e-05/0.003356, allocations: 23.91 kB / 0.5216 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.139e-05/0.003387, allocations: 15.98 kB / 0.5216 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.003401, allocations: 5.406 kB / 0.5216 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-06/0.003411, allocations: 4 kB / 0.5216 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.166e-05/0.003423, allocations: 4 kB / 0.5216 GB, free: 0.5 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/0.003452, allocations: 19.91 kB / 0.5216 GB, free: 492 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.885e-05/0.003541, allocations: 41.03 kB / 0.5217 GB, free: 452 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.003543, allocations: 0 / 0.5217 GB, free: 452 kB / 490.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.003544, allocations: 0 / 0.5217 GB, free: 452 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.003548, allocations: 0.6875 kB / 0.5217 GB, free: 452 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.000528/0.004076, allocations: 377.5 kB / 0.522 GB, free: 36 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.00411, allocations: 8.031 kB / 0.522 GB, free: 28 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.004151, allocations: 8.891 kB / 0.522 GB, free: 20 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.004298, allocations: 121.6 kB / 0.5222 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.00431, allocations: 384 / 0.5222 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.004324, allocations: 12.31 kB / 0.5222 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.004505, allocations: 54.73 kB / 0.5222 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.004513, allocations: 0.7188 kB / 0.5222 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-06/0.004522, allocations: 2.25 kB / 0.5222 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.004525, allocations: 384 / 0.5222 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.004713, allocations: 47.91 kB / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003872/0.0051, allocations: 271.7 kB / 0.5225 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.005251, allocations: 52.61 kB / 0.5226 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.005352, allocations: 31.75 kB / 0.5226 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.005374, allocations: 1.469 kB / 0.5226 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.00541, allocations: 37.39 kB / 0.5226 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.005411, allocations: 0 / 0.5226 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0004009/0.005812, allocations: 98.5 kB / 0.5227 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.005857, allocations: 55.41 kB / 0.5228 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.005989, allocations: 171.4 kB / 0.523 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.006009, allocations: 25.7 kB / 0.523 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.457e-05/0.006094, allocations: 142.8 kB / 0.5231 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.006111, allocations: 3.953 kB / 0.5231 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.622e-05/0.006157, allocations: 23.88 kB / 0.5231 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002531/0.006411, allocations: 0.4894 MB / 0.5236 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.988e-05/0.00651, allocations: 19.98 kB / 0.5236 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.016e-05/0.006591, allocations: 21.11 kB / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.006757, allocations: 48.22 kB / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.006759, allocations: 0 / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002174/0.006976, allocations: 79.33 kB / 0.5238 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.006991, allocations: 7.938 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.006995, allocations: 0 / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.007007, allocations: 1.812 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.166e-05/0.007099, allocations: 11.98 kB / 0.5238 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.007103, allocations: 0 / 0.5238 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.598e-05/0.007159, allocations: 19.88 kB / 0.5238 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-06/0.007165, allocations: 2.359 kB / 0.5238 GB, free: 14.04 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.0001093/0.007275, allocations: 156.6 kB / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.007301, allocations: 4 kB / 0.524 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.911e-05/0.00733, allocations: 7.938 kB / 0.524 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.007336, allocations: 7.984 kB / 0.524 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.007338, allocations: 4.969 kB / 0.524 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.007341, allocations: 0 / 0.524 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002894/0.00763, allocations: 128.6 kB / 0.5241 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.007631, allocations: 0.9375 kB / 0.5241 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.533e-05/0.007707, allocations: 11.98 kB / 0.5241 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-06/0.007708, allocations: 7.188 kB / 0.5241 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.007716, allocations: 0 / 0.5241 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.00772, allocations: 3.938 kB / 0.5241 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.007721, allocations: 0 / 0.5241 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.008039, allocations: 227.9 kB / 0.5244 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.112e-05/0.008051, allocations: 4 kB / 0.5244 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.008063, allocations: 0 / 0.5244 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.014e-05/0.008143, allocations: 14.8 kB / 0.5244 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.008185, allocations: 4 kB / 0.5244 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.008189, allocations: 0 / 0.5244 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.241e-05/0.008271, allocations: 135.5 kB / 0.5245 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.008271, allocations: 0 / 0.5245 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002129/0.008484, allocations: 4 kB / 0.5245 GB, free: 13.27 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.0001318/0.008616, allocations: 100.8 kB / 0.5246 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002355/0.008851, allocations: 55.58 kB / 0.5247 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.008853, allocations: 0 / 0.5247 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.008959, allocations: 36.95 kB / 0.5247 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.009212, allocations: 6.578 kB / 0.5247 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003381/0.00955, allocations: 139.5 kB / 0.5248 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.775e-05/0.009618, allocations: 63.34 kB / 0.5249 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.057e-05/0.009648, allocations: 10.58 kB / 0.5249 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.707e-05/0.009685, allocations: 8.5 kB / 0.5249 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of SimCode: time 5.21e-07/0.009686, allocations: 0 / 0.5249 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.003482/0.01317, allocations: 0.7844 MB / 0.5257 GB, free: 12.05 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.040975171956234]