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.0009388/0.0009388, allocations: 85.27 kB / 19.87 MB, free: 4.617 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.000909/0.000909, allocations: 165 kB / 23.27 MB, free: 1.219 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 0.8887/0.8887, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.7627/0.7627, allocations: 154.9 MB / 415.1 MB, free: 260 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 1.683e-06/1.683e-06, allocations: 0 / 0.5212 GB, free: 1.508 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.051e-05/2.219e-05, allocations: 3.859 kB / 0.5212 GB, free: 1.504 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001353/0.001375, allocations: 0.7086 MB / 0.5219 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.002511, allocations: 1.183 MB / 0.523 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.776e-05/0.002559, allocations: 0 / 0.523 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.513e-05/0.002584, allocations: 3.938 kB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.886e-05/0.002663, allocations: 15.88 kB / 0.523 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.003017, allocations: 132.1 kB / 0.5232 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000136/0.003153, allocations: 128.2 kB / 0.5233 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.729e-05/0.003231, allocations: 8.906 kB / 0.5233 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.489e-05/0.003326, allocations: 71.88 kB / 0.5234 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.008e-05/0.003406, allocations: 28.67 kB / 0.5234 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.003427, allocations: 12 kB / 0.5234 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.504e-05/0.003482, allocations: 20.5 kB / 0.5234 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.003506, allocations: 11.92 kB / 0.5234 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.783e-05/0.003544, allocations: 40.53 kB / 0.5235 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.003673, allocations: 96.7 kB / 0.5236 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.003676, allocations: 0 / 0.5236 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.032e-06/0.003677, allocations: 0 / 0.5236 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.025e-06/0.00368, allocations: 0.875 kB / 0.5236 GB, free: 15.07 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.0005963/0.004276, allocations: 426.1 kB / 0.524 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.004314, allocations: 9.781 kB / 0.524 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/0.00435, allocations: 8.938 kB / 0.524 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.766e-05/0.004428, allocations: 112.6 kB / 0.5241 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.004444, allocations: 8.312 kB / 0.5241 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.004457, allocations: 4.375 kB / 0.5241 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.541e-05/0.004533, allocations: 60.69 kB / 0.5242 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.00454, allocations: 192 / 0.5242 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.62e-06/0.004545, allocations: 384 / 0.5242 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.00455, allocations: 384 / 0.5242 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.889e-05/0.004569, allocations: 11.88 kB / 0.5242 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002662/0.004835, allocations: 289 kB / 0.5244 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.506e-05/0.00488, allocations: 40.41 kB / 0.5245 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.286e-05/0.004893, allocations: 11.75 kB / 0.5245 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.671e-06/0.004899, allocations: 0 / 0.5245 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.713e-05/0.004986, allocations: 70.22 kB / 0.5246 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.004987, allocations: 0 / 0.5246 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0001413/0.005128, allocations: 69.56 kB / 0.5246 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.005154, allocations: 51.41 kB / 0.5247 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.59e-05/0.00523, allocations: 179.5 kB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.005247, allocations: 33.69 kB / 0.5249 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/0.005295, allocations: 134.9 kB / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.349e-05/0.005308, allocations: 11.95 kB / 0.525 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/0.005352, allocations: 35.34 kB / 0.5251 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.005459, allocations: 0.4902 MB / 0.5255 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.172e-05/0.005511, allocations: 57.62 kB / 0.5256 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.599e-05/0.005567, allocations: 84.8 kB / 0.5257 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.256e-05/0.005629, allocations: 80.75 kB / 0.5257 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.005631, allocations: 0.5625 kB / 0.5257 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001604/0.005791, allocations: 169.9 kB / 0.5259 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.005822, allocations: 48.59 kB / 0.526 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.005828, allocations: 3.938 kB / 0.526 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.00584, allocations: 4 kB / 0.526 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.891e-05/0.005879, allocations: 0.9375 kB / 0.526 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.005882, allocations: 4 kB / 0.526 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.656e-05/0.005979, allocations: 17.02 kB / 0.526 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.005991, allocations: 7.984 kB / 0.526 GB, free: 12.33 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 7.2e-05/0.006063, allocations: 171.5 kB / 0.5262 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.069e-05/0.006074, allocations: 7.953 kB / 0.5262 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.51e-05/0.006099, allocations: 15.94 kB / 0.5262 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.006101, allocations: 0 / 0.5262 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.006102, allocations: 0 / 0.5262 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.006105, allocations: 0 / 0.5262 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.521e-05/0.00618, allocations: 101.2 kB / 0.5263 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.006181, allocations: 0 / 0.5263 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.167e-05/0.006193, allocations: 7.016 kB / 0.5263 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.006195, allocations: 4 kB / 0.5263 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-06/0.006198, allocations: 0 / 0.5263 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.0062, allocations: 3.938 kB / 0.5263 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.006202, allocations: 3.938 kB / 0.5263 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.117e-05/0.006293, allocations: 92.38 kB / 0.5264 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.15e-05/0.006305, allocations: 11.95 kB / 0.5264 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-06/0.006314, allocations: 3.984 kB / 0.5264 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.956e-05/0.006334, allocations: 5.5 kB / 0.5264 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.057e-05/0.006354, allocations: 7.938 kB / 0.5264 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.006357, allocations: 0 / 0.5264 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.265e-05/0.0064, allocations: 131.2 kB / 0.5265 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.0064, allocations: 0.5 kB / 0.5265 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001435/0.006543, allocations: 30.97 kB / 0.5266 GB, free: 11.69 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.0001092/0.006653, allocations: 99.23 kB / 0.5267 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001364/0.006789, allocations: 144.7 kB / 0.5268 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.00679, allocations: 0 / 0.5268 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.836e-05/0.006809, allocations: 16.05 kB / 0.5268 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.006969, allocations: 22.42 kB / 0.5268 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002124/0.007181, allocations: 149.9 kB / 0.527 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.69e-05/0.007208, allocations: 55.36 kB / 0.527 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.338e-05/0.007231, allocations: 12.06 kB / 0.527 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.139e-05/0.007313, allocations: 87.59 kB / 0.5271 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of SimCode: time 6.91e-07/0.007313, allocations: 0 / 0.5271 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of Templates: time 0.003146/0.01046, allocations: 1.624 MB / 0.5287 GB, free: 9.508 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.3348164721392095]