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.001845/0.001845, allocations: 88.72 kB / 19.44 MB, free: 356 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.002451/0.002451, allocations: 157.6 kB / 22.75 MB, free: 1.684 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.551/1.551, allocations: 177.1 MB / 203.1 MB, free: 5.59 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.258/1.258, allocations: 154.8 MB / 414.3 MB, free: 472 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.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.444e-06/2.444e-06, allocations: 0 / 0.5199 GB, free: 2.277 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.326e-05/3.571e-05, allocations: 4.141 kB / 0.5199 GB, free: 2.273 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002887/0.002923, allocations: 0.7115 MB / 0.5206 GB, free: 1.586 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002518/0.005441, allocations: 1.153 MB / 0.5217 GB, free: 432 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.565e-05/0.005506, allocations: 0 / 0.5217 GB, free: 432 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.507e-05/0.005542, allocations: 0 / 0.5217 GB, free: 432 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.005673, allocations: 24.47 kB / 0.5217 GB, free: 408 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000707/0.00638, allocations: 129.2 kB / 0.5219 GB, free: 280 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000295/0.006675, allocations: 119.8 kB / 0.522 GB, free: 160 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.00678, allocations: 11.97 kB / 0.522 GB, free: 148 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.006984, allocations: 67.91 kB / 0.522 GB, free: 80 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.007143, allocations: 29.77 kB / 0.5221 GB, free: 52 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.146e-05/0.007194, allocations: 19.92 kB / 0.5221 GB, free: 32 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.007295, allocations: 23.98 kB / 0.5221 GB, free: 8 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.634e-05/0.007322, allocations: 4 kB / 0.5221 GB, free: 4 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.007444, allocations: 37.78 kB / 0.5222 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003456/0.007789, allocations: 151.6 kB / 0.5223 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.007796, allocations: 4 kB / 0.5223 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.463e-06/0.007797, allocations: 0 / 0.5223 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.007803, allocations: 3.938 kB / 0.5223 GB, free: 15.81 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.0007359/0.008539, allocations: 316.6 kB / 0.5226 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.008589, allocations: 8.031 kB / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.363e-05/0.008673, allocations: 10.34 kB / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.00887, allocations: 129.7 kB / 0.5227 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.008892, allocations: 384 / 0.5227 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.161e-05/0.008924, allocations: 8.375 kB / 0.5228 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.00907, allocations: 47.53 kB / 0.5228 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.009079, allocations: 4.188 kB / 0.5228 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.009093, allocations: 4.359 kB / 0.5228 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.009098, allocations: 1.844 kB / 0.5228 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.624e-05/0.009164, allocations: 15.92 kB / 0.5228 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006283/0.009793, allocations: 252.5 kB / 0.5231 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.009924, allocations: 34.5 kB / 0.5231 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.233e-05/0.009976, allocations: 19.45 kB / 0.5231 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.009991, allocations: 0 / 0.5231 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002907/0.01028, allocations: 67.33 kB / 0.5232 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.674e-06/0.01028, allocations: 0 / 0.5232 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0003567/0.01064, allocations: 81.62 kB / 0.5233 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/0.01071, allocations: 55.34 kB / 0.5233 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/0.01095, allocations: 126.4 kB / 0.5234 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.011, allocations: 26.27 kB / 0.5235 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.01111, allocations: 96.06 kB / 0.5236 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.01114, allocations: 12.89 kB / 0.5236 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.01125, allocations: 29.7 kB / 0.5236 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002395/0.01149, allocations: 312.4 kB / 0.5239 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.01168, allocations: 73.67 kB / 0.524 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.01188, allocations: 88.25 kB / 0.524 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.0121, allocations: 93.16 kB / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.0121, allocations: 3.938 kB / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005235/0.01262, allocations: 202.3 kB / 0.5243 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.31e-05/0.0127, allocations: 41.64 kB / 0.5244 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.01271, allocations: 0 / 0.5244 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.551e-05/0.01274, allocations: 1.156 kB / 0.5244 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.67e-05/0.01282, allocations: 7.984 kB / 0.5244 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.01283, allocations: 0 / 0.5244 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002814/0.01311, allocations: 25.94 kB / 0.5244 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.01314, allocations: 8 kB / 0.5244 GB, free: 13.43 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 0.0001578/0.0133, allocations: 113.8 kB / 0.5245 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.01334, allocations: 20.94 kB / 0.5245 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.178e-05/0.01337, allocations: 4 kB / 0.5245 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.01338, allocations: 7.938 kB / 0.5245 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.01338, allocations: 3.25 kB / 0.5246 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.01339, allocations: 0 / 0.5246 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001806/0.01357, allocations: 117.3 kB / 0.5247 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01357, allocations: 0 / 0.5247 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.912e-05/0.01361, allocations: 7.984 kB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.01361, allocations: 0 / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.01363, allocations: 3.938 kB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.01363, allocations: 4.062 kB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.01363, allocations: 0 / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.01385, allocations: 96.05 kB / 0.5248 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.659e-05/0.01387, allocations: 3.953 kB / 0.5248 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.0139, allocations: 8.203 kB / 0.5248 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.904e-05/0.01393, allocations: 0 / 0.5248 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.01396, allocations: 4 kB / 0.5248 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.01397, allocations: 0 / 0.5248 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001136/0.01408, allocations: 103.2 kB / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01408, allocations: 0 / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003888/0.01447, allocations: 17.5 kB / 0.5249 GB, free: 12.88 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.0002719/0.01474, allocations: 107.2 kB / 0.525 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003686/0.01511, allocations: 161.5 kB / 0.5252 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01511, allocations: 2.312 kB / 0.5252 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.273e-05/0.01518, allocations: 19.92 kB / 0.5252 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.01556, allocations: 18.27 kB / 0.5252 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005478/0.0161, allocations: 150.8 kB / 0.5253 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.01621, allocations: 71.33 kB / 0.5254 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.172e-05/0.01625, allocations: 4 kB / 0.5254 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.599e-05/0.01628, allocations: 12.5 kB / 0.5254 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of SimCode: time 8.72e-07/0.01628, allocations: 1.938 kB / 0.5254 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of Templates: time 0.006865/0.02315, allocations: 1.481 MB / 0.5269 GB, free: 10.88 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.048956561950035]