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.0007278/0.0007278, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0006965/0.0006965, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8431/0.8431, allocations: 177.1 MB / 203.5 MB, free: 5.727 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-531:190: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-531:198: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.6762/0.6762, allocations: 154.6 MB / 414.5 MB, free: 0.8398 MB / 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 3.536e-06/3.536e-06, allocations: 4 kB / 0.6193 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.833e-05, allocations: 5.562 kB / 0.6193 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001239/0.001267, allocations: 0.6999 MB / 0.62 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.002311, allocations: 1.147 MB / 0.6211 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.033e-05/0.002352, allocations: 0 / 0.6211 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.626e-05/0.002378, allocations: 7.875 kB / 0.6211 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.816e-05/0.002446, allocations: 19.88 kB / 0.6212 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.00281, allocations: 131 kB / 0.6213 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.00014/0.00295, allocations: 127.7 kB / 0.6214 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.504e-05/0.003035, allocations: 8 kB / 0.6214 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.465e-05/0.003119, allocations: 67.89 kB / 0.6215 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.81e-05/0.003197, allocations: 31.94 kB / 0.6215 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.003218, allocations: 12 kB / 0.6215 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.971e-05/0.003267, allocations: 27.98 kB / 0.6215 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.003286, allocations: 7.938 kB / 0.6215 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.647e-05/0.003332, allocations: 43.91 kB / 0.6216 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.00349, allocations: 143.7 kB / 0.6217 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.003492, allocations: 0 / 0.6217 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.72e-07/0.003493, allocations: 0 / 0.6217 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.003499, allocations: 4 kB / 0.6217 GB, free: 10.54 MB / 0.5886 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.0003886/0.003888, allocations: 319.8 kB / 0.622 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.003923, allocations: 13.47 kB / 0.6221 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/0.003961, allocations: 8.875 kB / 0.6221 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.655e-05/0.004048, allocations: 125.6 kB / 0.6222 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.004064, allocations: 8.359 kB / 0.6222 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.004079, allocations: 8.375 kB / 0.6222 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.795e-05/0.004157, allocations: 46.23 kB / 0.6222 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.004165, allocations: 4.188 kB / 0.6222 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-06/0.004174, allocations: 384 / 0.6222 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.004178, allocations: 384 / 0.6222 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.641e-05/0.004214, allocations: 11.94 kB / 0.6223 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003001/0.004514, allocations: 264.4 kB / 0.6225 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.206e-05/0.004566, allocations: 26.58 kB / 0.6225 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.509e-05/0.004591, allocations: 20.91 kB / 0.6226 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.295e-06/0.0046, allocations: 0 / 0.6226 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001308/0.004731, allocations: 71.27 kB / 0.6226 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.004731, allocations: 0 / 0.6226 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001623/0.004894, allocations: 77.64 kB / 0.6227 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002669/0.005161, allocations: 55.41 kB / 0.6227 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.531e-05/0.005236, allocations: 121.8 kB / 0.6229 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.005253, allocations: 33.7 kB / 0.6229 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.005292, allocations: 88.14 kB / 0.623 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.197e-05/0.005304, allocations: 3.953 kB / 0.623 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.115e-05/0.005345, allocations: 29.7 kB / 0.623 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.745e-05/0.005412, allocations: 322.8 kB / 0.6233 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.995e-05/0.005482, allocations: 65.69 kB / 0.6234 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.039e-05/0.005553, allocations: 92.25 kB / 0.6235 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.65e-05/0.005629, allocations: 92.2 kB / 0.6236 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.005631, allocations: 0 / 0.6236 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001776/0.005809, allocations: 197 kB / 0.6237 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.005837, allocations: 41.62 kB / 0.6238 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.005843, allocations: 4 kB / 0.6238 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.005854, allocations: 0 / 0.6238 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.62e-05/0.0059, allocations: 3.938 kB / 0.6238 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.005906, allocations: 12 kB / 0.6238 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.006018, allocations: 27.91 kB / 0.6238 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.006033, allocations: 16.05 kB / 0.6238 GB, free: 8.141 MB / 0.5886 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.124e-05/0.006094, allocations: 118.8 kB / 0.624 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.874e-06/0.006102, allocations: 7.891 kB / 0.624 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.113e-05/0.006123, allocations: 8 kB / 0.624 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.006125, allocations: 3.938 kB / 0.624 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.006129, allocations: 0 / 0.624 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.006132, allocations: 4 kB / 0.624 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.316e-05/0.006195, allocations: 117.3 kB / 0.6241 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.006196, allocations: 0 / 0.6241 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.093e-05/0.006207, allocations: 4 kB / 0.6241 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.006208, allocations: 0 / 0.6241 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.006214, allocations: 3.938 kB / 0.6241 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.12e-07/0.006215, allocations: 0 / 0.6241 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.006216, allocations: 4 kB / 0.6241 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.802e-05/0.006294, allocations: 93.23 kB / 0.6242 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-06/0.006302, allocations: 7.953 kB / 0.6242 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.006313, allocations: 3.984 kB / 0.6242 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.327e-05/0.006326, allocations: 7.984 kB / 0.6242 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.006349, allocations: 7.984 kB / 0.6242 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.006352, allocations: 0 / 0.6242 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.139e-05/0.006394, allocations: 101 kB / 0.6243 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.006394, allocations: 0 / 0.6243 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001469/0.006541, allocations: 16 kB / 0.6243 GB, free: 7.578 MB / 0.5886 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.0001243/0.006665, allocations: 103.2 kB / 0.6244 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001661/0.006831, allocations: 161 kB / 0.6246 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.006833, allocations: 0 / 0.6246 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.346e-05/0.006856, allocations: 16.12 kB / 0.6246 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/0.007022, allocations: 11.98 kB / 0.6246 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002502/0.007272, allocations: 166.5 kB / 0.6248 GB, free: 7.066 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.072e-05/0.007313, allocations: 71.28 kB / 0.6248 GB, free: 6.977 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.865e-05/0.007331, allocations: 12.5 kB / 0.6249 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of SimCode: time 3.71e-07/0.007332, allocations: 0 / 0.6249 GB, free: 6.965 MB / 0.5886 GB Notification: Performance of Templates: time 0.001874/0.009206, allocations: 1.193 MB / 0.626 GB, free: 5.797 MB / 0.5886 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: 4.981356821022928] Failed to read output from testmodel.py, exit status != 0: 0.014089837670326233 0.022512323 0.017375365 Calling exit ...