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.001177/0.001177, allocations: 88.22 kB / 19.65 MB, free: 276 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.001295/0.001295, allocations: 169 kB / 23.02 MB, free: 1.547 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.021/1.021, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.8943/0.8943, allocations: 154.8 MB / 414.7 MB, free: 492 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.754e-06/1.754e-06, allocations: 0 / 0.5206 GB, free: 1.926 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.816e-05/1.992e-05, allocations: 2.875 kB / 0.5206 GB, free: 1.922 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001246/0.001266, allocations: 0.7206 MB / 0.5213 GB, free: 1.227 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.002452, allocations: 1.184 MB / 0.5225 GB, free: 32 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.163e-05/0.002494, allocations: 0.5625 kB / 0.5225 GB, free: 32 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.002523, allocations: 3.938 kB / 0.5225 GB, free: 28 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.106e-05/0.002604, allocations: 20.88 kB / 0.5225 GB, free: 8 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000392/0.002996, allocations: 132.8 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.003133, allocations: 119.8 kB / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.758e-05/0.00322, allocations: 11.97 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.578e-05/0.003306, allocations: 64.47 kB / 0.5228 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.38e-05/0.00339, allocations: 31.89 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.003413, allocations: 12.97 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.685e-05/0.00347, allocations: 27.97 kB / 0.5229 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.003488, allocations: 9.781 kB / 0.5229 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.873e-05/0.003537, allocations: 35.91 kB / 0.5229 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.003679, allocations: 95.7 kB / 0.523 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.003681, allocations: 0 / 0.523 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.12e-07/0.003682, allocations: 4 kB / 0.523 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.003686, allocations: 1.125 kB / 0.523 GB, free: 15.48 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.0004063/0.004092, allocations: 422.1 kB / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.004126, allocations: 8.031 kB / 0.5234 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.004169, allocations: 5.656 kB / 0.5234 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.487e-05/0.004263, allocations: 124.5 kB / 0.5235 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.004283, allocations: 9.562 kB / 0.5236 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.0043, allocations: 4.375 kB / 0.5236 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.771e-05/0.004378, allocations: 46.95 kB / 0.5236 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.004387, allocations: 1.625 kB / 0.5236 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.004397, allocations: 4.375 kB / 0.5236 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.004404, allocations: 384 / 0.5236 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.746e-05/0.004432, allocations: 19.86 kB / 0.5236 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003056/0.004737, allocations: 304.5 kB / 0.5239 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.985e-05/0.004807, allocations: 35.89 kB / 0.5239 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.788e-05/0.004825, allocations: 11.75 kB / 0.524 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.533e-06/0.004832, allocations: 2.781 kB / 0.524 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.932e-05/0.004911, allocations: 72.92 kB / 0.524 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.004912, allocations: 0 / 0.524 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0001551/0.005067, allocations: 69.62 kB / 0.5241 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.005094, allocations: 51.41 kB / 0.5241 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.829e-05/0.005183, allocations: 177.9 kB / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.005202, allocations: 33.69 kB / 0.5243 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.202e-05/0.005254, allocations: 135.4 kB / 0.5245 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.099e-05/0.005265, allocations: 7.891 kB / 0.5245 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.585e-05/0.005311, allocations: 39.98 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.005418, allocations: 0.4893 MB / 0.525 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.472e-05/0.005483, allocations: 61.62 kB / 0.5251 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.914e-05/0.005552, allocations: 84.92 kB / 0.5251 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.384e-05/0.005626, allocations: 85.72 kB / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.005628, allocations: 0.8125 kB / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001896/0.005817, allocations: 181.5 kB / 0.5254 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.005847, allocations: 46.66 kB / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.005852, allocations: 3.984 kB / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.005868, allocations: 7.984 kB / 0.5255 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.313e-05/0.005911, allocations: 1.094 kB / 0.5255 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.005916, allocations: 0 / 0.5255 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.84e-05/0.006014, allocations: 24.61 kB / 0.5255 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.006027, allocations: 9.359 kB / 0.5255 GB, free: 12.67 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.5e-05/0.006092, allocations: 156.6 kB / 0.5256 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.073e-05/0.006103, allocations: 11.89 kB / 0.5256 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.35e-05/0.006126, allocations: 12.56 kB / 0.5257 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.006128, allocations: 0 / 0.5257 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.006131, allocations: 0.625 kB / 0.5257 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.006134, allocations: 0 / 0.5257 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.545e-05/0.006209, allocations: 133.9 kB / 0.5258 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.00621, allocations: 0 / 0.5258 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.829e-06/0.00622, allocations: 4 kB / 0.5258 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.006221, allocations: 0.8438 kB / 0.5258 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.006227, allocations: 3.938 kB / 0.5258 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.006228, allocations: 1.156 kB / 0.5258 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.006229, allocations: 3.938 kB / 0.5258 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.962e-05/0.006309, allocations: 96.38 kB / 0.5259 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.696e-06/0.006317, allocations: 4.703 kB / 0.5259 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.006329, allocations: 7.938 kB / 0.5259 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.165e-05/0.00634, allocations: 5.25 kB / 0.5259 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.329e-05/0.006364, allocations: 3.984 kB / 0.5259 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.006368, allocations: 4 kB / 0.5259 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.396e-05/0.006412, allocations: 139.1 kB / 0.5261 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006412, allocations: 0.7812 kB / 0.5261 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001387/0.00655, allocations: 19.94 kB / 0.5261 GB, free: 12.01 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 9.645e-05/0.006647, allocations: 96.22 kB / 0.5262 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001608/0.006808, allocations: 155.4 kB / 0.5263 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.006809, allocations: 0 / 0.5263 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.411e-05/0.006833, allocations: 23.67 kB / 0.5263 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.00699, allocations: 15.92 kB / 0.5263 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002398/0.00723, allocations: 156.6 kB / 0.5265 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.086e-05/0.007261, allocations: 59.34 kB / 0.5266 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.678e-05/0.007277, allocations: 4 kB / 0.5266 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.791e-05/0.007295, allocations: 12.5 kB / 0.5266 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of SimCode: time 4.61e-07/0.007296, allocations: 0 / 0.5266 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of Templates: time 0.003075/0.01037, allocations: 1.49 MB / 0.528 GB, free: 10.02 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: 4.00309194996953]