Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.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.0009792/0.0009792, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009703/0.0009703, allocations: 173 kB / 23.49 MB, free: 1.055 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.042/1.042, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.7904/0.7904, allocations: 154.8 MB / 415.1 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.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.796e-06/2.796e-06, allocations: 0 / 0.5206 GB, free: 2.223 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.616e-05/3.895e-05, allocations: 5.484 kB / 0.5206 GB, free: 2.219 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.00178/0.001819, allocations: 0.7162 MB / 0.5213 GB, free: 1.523 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.002969, allocations: 1.18 MB / 0.5225 GB, free: 340 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.339e-05/0.003022, allocations: 3.938 kB / 0.5225 GB, free: 336 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.48e-05/0.003047, allocations: 1.094 kB / 0.5225 GB, free: 336 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.786e-05/0.003125, allocations: 19.86 kB / 0.5225 GB, free: 316 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.003488, allocations: 130.4 kB / 0.5226 GB, free: 188 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000144/0.003632, allocations: 123.8 kB / 0.5227 GB, free: 64 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.768e-05/0.00372, allocations: 11.98 kB / 0.5227 GB, free: 52 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.00382, allocations: 63.95 kB / 0.5228 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.106e-05/0.003901, allocations: 35.83 kB / 0.5228 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.003924, allocations: 12 kB / 0.5229 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.957e-05/0.003984, allocations: 24.61 kB / 0.5229 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.004003, allocations: 8 kB / 0.5229 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.11e-05/0.004054, allocations: 41.14 kB / 0.5229 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.004192, allocations: 91.77 kB / 0.523 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.004195, allocations: 7.938 kB / 0.523 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.52e-07/0.004196, allocations: 0.9688 kB / 0.523 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.0042, allocations: 0 / 0.523 GB, free: 15.77 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003975/0.004597, allocations: 418.1 kB / 0.5234 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.004634, allocations: 9 kB / 0.5234 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.627e-05/0.00468, allocations: 8.938 kB / 0.5234 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.15e-05/0.004772, allocations: 121.6 kB / 0.5236 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.004789, allocations: 4.375 kB / 0.5236 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.004803, allocations: 4.375 kB / 0.5236 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.438e-05/0.004888, allocations: 59.86 kB / 0.5236 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.004894, allocations: 192 / 0.5236 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.004903, allocations: 1.219 kB / 0.5236 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.892e-06/0.004908, allocations: 384 / 0.5236 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.366e-05/0.004942, allocations: 11.92 kB / 0.5236 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003178/0.00526, allocations: 312.9 kB / 0.5239 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.105e-05/0.005311, allocations: 31.05 kB / 0.524 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.756e-05/0.005329, allocations: 16.31 kB / 0.524 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.562e-06/0.005335, allocations: 0 / 0.524 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.398e-05/0.005419, allocations: 74.78 kB / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.00542, allocations: 0 / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0001624/0.005582, allocations: 65.62 kB / 0.5241 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.005613, allocations: 59.34 kB / 0.5242 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.114e-05/0.005704, allocations: 183.5 kB / 0.5243 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.005718, allocations: 25.7 kB / 0.5244 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.266e-05/0.005771, allocations: 134.9 kB / 0.5245 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.005786, allocations: 15.94 kB / 0.5245 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-05/0.005832, allocations: 35.36 kB / 0.5245 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.005951, allocations: 0.4896 MB / 0.525 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.785e-05/0.006019, allocations: 53.69 kB / 0.5251 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.876e-05/0.006087, allocations: 92.67 kB / 0.5252 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.778e-05/0.006165, allocations: 94.12 kB / 0.5253 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.006167, allocations: 0 / 0.5253 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001783/0.006345, allocations: 182.4 kB / 0.5254 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.006374, allocations: 45.62 kB / 0.5255 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.006379, allocations: 0 / 0.5255 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.00639, allocations: 1.156 kB / 0.5255 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.244e-05/0.006432, allocations: 4 kB / 0.5255 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.006438, allocations: 0 / 0.5255 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.366e-05/0.006531, allocations: 17.8 kB / 0.5255 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.006545, allocations: 11.98 kB / 0.5255 GB, free: 12.97 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.645e-05/0.006612, allocations: 160.6 kB / 0.5257 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.828e-06/0.006622, allocations: 13.95 kB / 0.5257 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.838e-05/0.00664, allocations: 4 kB / 0.5257 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.006642, allocations: 0 / 0.5257 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.006645, allocations: 3.938 kB / 0.5257 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.006648, allocations: 0 / 0.5257 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.285e-05/0.006721, allocations: 132.6 kB / 0.5258 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.006722, allocations: 2.75 kB / 0.5258 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.392e-06/0.006728, allocations: 0 / 0.5258 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.006729, allocations: 0 / 0.5258 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.006738, allocations: 7.938 kB / 0.5258 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.006739, allocations: 0 / 0.5258 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.006739, allocations: 0 / 0.5258 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.632e-05/0.006826, allocations: 92.38 kB / 0.5259 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.068e-05/0.006836, allocations: 13.55 kB / 0.5259 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.006847, allocations: 3.938 kB / 0.5259 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.093e-05/0.006858, allocations: 0 / 0.5259 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-05/0.006883, allocations: 7.984 kB / 0.5259 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-06/0.006886, allocations: 0 / 0.5259 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.565e-05/0.006931, allocations: 144 kB / 0.5261 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006932, allocations: 0 / 0.5261 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001364/0.007068, allocations: 20.88 kB / 0.5261 GB, free: 12.31 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: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001043/0.007172, allocations: 103.8 kB / 0.5262 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001599/0.007332, allocations: 151 kB / 0.5263 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.007333, allocations: 0 / 0.5263 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.427e-05/0.007358, allocations: 23.61 kB / 0.5263 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.007516, allocations: 26.89 kB / 0.5264 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002554/0.007772, allocations: 146.9 kB / 0.5265 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.241e-05/0.007804, allocations: 60 kB / 0.5266 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.876e-05/0.007823, allocations: 1.219 kB / 0.5266 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.835e-05/0.007841, allocations: 12.5 kB / 0.5266 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of SimCode: time 7.52e-07/0.007842, allocations: 2.812 kB / 0.5266 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of Templates: time 0.002855/0.0107, allocations: 1.487 MB / 0.528 GB, free: 10.32 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.911681008990854]