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.0009278/0.0009278, allocations: 93.06 kB / 19.65 MB, free: 280 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.001098/0.001098, allocations: 165 kB / 23.02 MB, free: 1.551 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.11/1.11, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.803/0.803, allocations: 154.8 MB / 414.7 MB, free: 476 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.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 3.417e-06/3.417e-06, allocations: 0.9844 kB / 0.5206 GB, free: 0.793 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.005e-05/3.346e-05, allocations: 4.281 kB / 0.5206 GB, free: 0.7891 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001471/0.001505, allocations: 0.6945 MB / 0.5213 GB, free: 120 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008888/0.002394, allocations: 0.9073 MB / 0.5222 GB, free: 15.2 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.524e-05/0.002429, allocations: 0 / 0.5222 GB, free: 15.2 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.22e-05/0.002461, allocations: 7.938 kB / 0.5222 GB, free: 15.19 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.914e-05/0.00253, allocations: 6.625 kB / 0.5222 GB, free: 15.19 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.002698, allocations: 20.41 kB / 0.5222 GB, free: 15.17 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 7.729e-05/0.002776, allocations: 50.16 kB / 0.5223 GB, free: 15.12 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.002881, allocations: 4 kB / 0.5223 GB, free: 15.12 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.413e-05/0.002965, allocations: 28.78 kB / 0.5223 GB, free: 15.09 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.213e-05/0.003007, allocations: 15.92 kB / 0.5223 GB, free: 15.07 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.003029, allocations: 4 kB / 0.5223 GB, free: 15.07 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.918e-06/0.003039, allocations: 4.969 kB / 0.5223 GB, free: 15.07 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.003057, allocations: 11.97 kB / 0.5223 GB, free: 15.05 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.00308, allocations: 12.91 kB / 0.5223 GB, free: 15.04 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 9.587e-05/0.003176, allocations: 27.91 kB / 0.5224 GB, free: 15.02 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003178, allocations: 0 / 0.5224 GB, free: 15.02 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.00318, allocations: 0.6875 kB / 0.5224 GB, free: 15.02 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.003184, allocations: 0 / 0.5224 GB, free: 15.02 MB / 458.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.0003657/0.00355, allocations: 373.5 kB / 0.5227 GB, free: 14.61 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.003591, allocations: 9.781 kB / 0.5227 GB, free: 14.61 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/0.003628, allocations: 12.89 kB / 0.5227 GB, free: 14.59 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.003e-05/0.003718, allocations: 120.5 kB / 0.5229 GB, free: 14.45 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.00373, allocations: 384 / 0.5229 GB, free: 14.45 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.003745, allocations: 8.359 kB / 0.5229 GB, free: 14.44 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.003885, allocations: 63.5 kB / 0.5229 GB, free: 14.37 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.003895, allocations: 5.531 kB / 0.5229 GB, free: 14.37 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.003904, allocations: 384 / 0.5229 GB, free: 14.37 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.003912, allocations: 384 / 0.5229 GB, free: 14.37 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.709e-05/0.003949, allocations: 11.94 kB / 0.523 GB, free: 14.36 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003499/0.004299, allocations: 268.3 kB / 0.5232 GB, free: 14.06 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.184e-05/0.00438, allocations: 44.02 kB / 0.5232 GB, free: 14 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.742e-05/0.004408, allocations: 7.688 kB / 0.5233 GB, free: 13.99 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.004432, allocations: 5.219 kB / 0.5233 GB, free: 13.99 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.004454, allocations: 33.39 kB / 0.5233 GB, free: 13.95 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.004455, allocations: 0 / 0.5233 GB, free: 13.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.000169/0.004624, allocations: 54.28 kB / 0.5233 GB, free: 13.89 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.004657, allocations: 55.41 kB / 0.5234 GB, free: 13.82 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.46e-05/0.004752, allocations: 171.5 kB / 0.5236 GB, free: 13.64 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.004764, allocations: 25.7 kB / 0.5236 GB, free: 13.61 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.283e-05/0.004817, allocations: 130.9 kB / 0.5237 GB, free: 13.47 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.004843, allocations: 19.89 kB / 0.5237 GB, free: 13.45 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-05/0.004878, allocations: 16.34 kB / 0.5237 GB, free: 13.43 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.004999, allocations: 0.4884 MB / 0.5242 GB, free: 12.93 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.841e-05/0.005017, allocations: 0 / 0.5242 GB, free: 12.93 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.634e-05/0.005033, allocations: 12.92 kB / 0.5242 GB, free: 12.92 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.304e-05/0.005066, allocations: 15.69 kB / 0.5242 GB, free: 12.9 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.005068, allocations: 1.188 kB / 0.5243 GB, free: 12.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.229e-05/0.00513, allocations: 45.62 kB / 0.5243 GB, free: 12.85 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.005143, allocations: 11.94 kB / 0.5243 GB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.005147, allocations: 0.8125 kB / 0.5243 GB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.005162, allocations: 0 / 0.5243 GB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.732e-05/0.005239, allocations: 8.562 kB / 0.5243 GB, free: 12.83 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.005244, allocations: 0 / 0.5243 GB, free: 12.83 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.431e-05/0.005268, allocations: 16.69 kB / 0.5243 GB, free: 12.81 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.005275, allocations: 0 / 0.5243 GB, free: 12.81 MB / 458.7 MB 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 5.912e-05/0.005334, allocations: 161.2 kB / 0.5245 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.005347, allocations: 0.5 kB / 0.5245 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.005377, allocations: 16.77 kB / 0.5245 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.005379, allocations: 0 / 0.5245 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.005383, allocations: 3 kB / 0.5245 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.005385, allocations: 0 / 0.5245 GB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.124e-05/0.005476, allocations: 128.9 kB / 0.5246 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.005478, allocations: 0 / 0.5246 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.71e-05/0.005505, allocations: 8 kB / 0.5246 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.005506, allocations: 0 / 0.5246 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.005514, allocations: 0 / 0.5246 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.005516, allocations: 7.922 kB / 0.5246 GB, free: 12.45 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.005518, allocations: 4.938 kB / 0.5246 GB, free: 12.45 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.005647, allocations: 199.9 kB / 0.5248 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.167e-05/0.005658, allocations: 0 / 0.5248 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.00567, allocations: 0.5625 kB / 0.5248 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.006e-05/0.00574, allocations: 8.5 kB / 0.5248 GB, free: 12.22 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/0.005788, allocations: 11.98 kB / 0.5249 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-06/0.005793, allocations: 0.9375 kB / 0.5249 GB, free: 12.21 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.78e-05/0.00584, allocations: 131.2 kB / 0.525 GB, free: 12.08 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.005841, allocations: 1.531 kB / 0.525 GB, free: 12.08 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001356/0.005976, allocations: 4 kB / 0.525 GB, free: 12.08 MB / 458.7 MB 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 7.306e-05/0.006049, allocations: 95.25 kB / 0.5251 GB, free: 11.98 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.752e-05/0.006137, allocations: 24.58 kB / 0.5251 GB, free: 11.95 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.006138, allocations: 0 / 0.5251 GB, free: 11.95 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.193e-05/0.00616, allocations: 17 kB / 0.5251 GB, free: 11.93 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001868/0.006347, allocations: 8 kB / 0.5251 GB, free: 11.92 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002708/0.006617, allocations: 141 kB / 0.5253 GB, free: 11.76 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.246e-05/0.00665, allocations: 51.36 kB / 0.5253 GB, free: 11.69 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.753e-05/0.006667, allocations: 4 kB / 0.5253 GB, free: 11.68 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.094e-05/0.006698, allocations: 8.5 kB / 0.5253 GB, free: 11.68 MB / 458.7 MB Notification: Performance of SimCode: time 5.91e-07/0.006699, allocations: 6.344 kB / 0.5253 GB, free: 11.67 MB / 458.7 MB Notification: Performance of Templates: time 0.002377/0.009076, allocations: 0.7962 MB / 0.5261 GB, free: 10.91 MB / 458.7 MB " [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: 4.020746557973325]