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.001313/0.001313, allocations: 82.64 kB / 19.16 MB, free: 2.535 MB / 14.72 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.001648/0.001648, allocations: 167 kB / 22.44 MB, free: 5.336 MB / 14.72 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.382/1.382, allocations: 177.2 MB / 202.8 MB, free: 9.195 MB / 190.1 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 1.168/1.168, allocations: 155 MB / 414.2 MB, free: 4.941 MB / 382.1 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 69.58 kB / 0.6192 GB, free: 4.105 MB / 0.5294 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5564/0.5585, allocations: 102 MB / 0.7188 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001779/0.5603, allocations: 0.7073 MB / 0.7195 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.5615, allocations: 1.16 MB / 0.7206 GB, free: 492 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.735e-05/0.5616, allocations: 0.875 kB / 0.7206 GB, free: 492 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.809e-05/0.5616, allocations: 0.6094 kB / 0.7206 GB, free: 492 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.506e-05/0.5617, allocations: 16.17 kB / 0.7206 GB, free: 480 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000432/0.5621, allocations: 131.7 kB / 0.7207 GB, free: 408 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.5623, allocations: 126.3 kB / 0.7209 GB, free: 344 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.852e-05/0.5623, allocations: 12.95 kB / 0.7209 GB, free: 336 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.5624, allocations: 69.91 kB / 0.7209 GB, free: 300 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.076e-05/0.5625, allocations: 35.84 kB / 0.721 GB, free: 284 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.67e-05/0.5626, allocations: 12.28 kB / 0.721 GB, free: 284 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.548e-05/0.5626, allocations: 22.09 kB / 0.721 GB, free: 284 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.273e-05/0.5627, allocations: 12.02 kB / 0.721 GB, free: 276 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.658e-05/0.5627, allocations: 40.42 kB / 0.7211 GB, free: 252 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.5629, allocations: 158.2 kB / 0.7212 GB, free: 188 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5629, allocations: 4 kB / 0.7212 GB, free: 184 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5629, allocations: 0 / 0.7212 GB, free: 184 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.5629, allocations: 0.7969 kB / 0.7212 GB, free: 184 kB / 0.6075 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.0004939/0.5634, allocations: 322.4 kB / 0.7215 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.5635, allocations: 10.75 kB / 0.7215 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.344e-05/0.5635, allocations: 14.06 kB / 0.7215 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.5637, allocations: 117.9 kB / 0.7217 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.5637, allocations: 8.875 kB / 0.7217 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.5637, allocations: 5.469 kB / 0.7217 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.5638, allocations: 41.61 kB / 0.7217 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.5638, allocations: 4.188 kB / 0.7217 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.5638, allocations: 5.688 kB / 0.7217 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.5638, allocations: 0 / 0.7217 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.466e-05/0.5639, allocations: 16.47 kB / 0.7217 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.5643, allocations: 253.5 kB / 0.722 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 6.879e-05/0.5643, allocations: 26.78 kB / 0.722 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.168e-05/0.5644, allocations: 16.69 kB / 0.722 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.5644, allocations: 1.656 kB / 0.722 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.5645, allocations: 72.97 kB / 0.7221 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=4): time 4.649e-06/0.5646, allocations: 4 kB / 0.7221 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of matching and sorting (n=4): time 0.0002214/0.5648, allocations: 76.14 kB / 0.7222 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.5648, allocations: 53.38 kB / 0.7222 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.5649, allocations: 129.6 kB / 0.7223 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.565, allocations: 31.89 kB / 0.7224 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.462e-05/0.565, allocations: 89.81 kB / 0.7225 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.5651, allocations: 6.828 kB / 0.7225 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.382e-05/0.5651, allocations: 29.48 kB / 0.7225 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.5653, allocations: 319.7 kB / 0.7228 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.5654, allocations: 66.34 kB / 0.7229 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.5655, allocations: 90.39 kB / 0.7229 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.5656, allocations: 95.89 kB / 0.723 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5656, allocations: 64 / 0.723 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003377/0.566, allocations: 202.8 kB / 0.7232 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.318e-05/0.566, allocations: 41.55 kB / 0.7233 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.566, allocations: 1.562 kB / 0.7233 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.566, allocations: 1.344 kB / 0.7233 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.487e-05/0.5661, allocations: 2.906 kB / 0.7233 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.5661, allocations: 5.859 kB / 0.7233 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.5663, allocations: 32.11 kB / 0.7233 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.5663, allocations: 5.312 kB / 0.7233 GB, free: 14.25 MB / 0.6231 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.0001118/0.5664, allocations: 127.1 kB / 0.7234 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.5665, allocations: 6.922 kB / 0.7234 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.976e-05/0.5665, allocations: 6.422 kB / 0.7235 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.5665, allocations: 4.688 kB / 0.7235 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.5665, allocations: 0 / 0.7235 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.5665, allocations: 1.375 kB / 0.7235 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.5666, allocations: 119.6 kB / 0.7236 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.5666, allocations: 3.938 kB / 0.7236 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.62e-05/0.5666, allocations: 3.953 kB / 0.7236 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.5666, allocations: 0 / 0.7236 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.5666, allocations: 2.141 kB / 0.7236 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.5666, allocations: 0 / 0.7236 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.5666, allocations: 1.156 kB / 0.7236 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.5668, allocations: 94.75 kB / 0.7237 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.62e-05/0.5668, allocations: 5.5 kB / 0.7237 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.5668, allocations: 2.734 kB / 0.7237 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.886e-05/0.5668, allocations: 0 / 0.7237 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.623e-05/0.5669, allocations: 15.41 kB / 0.7237 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.5669, allocations: 2.375 kB / 0.7237 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.229e-05/0.5669, allocations: 99.61 kB / 0.7238 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.5669, allocations: 0 / 0.7238 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002828/0.5672, allocations: 20.72 kB / 0.7238 GB, free: 13.79 MB / 0.6231 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.0001575/0.5674, allocations: 96.23 kB / 0.7239 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00028/0.5677, allocations: 157 kB / 0.7241 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5677, allocations: 0 / 0.7241 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 3.78e-05/0.5677, allocations: 13.89 kB / 0.7241 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.5679, allocations: 29.12 kB / 0.7241 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003533/0.5683, allocations: 150.6 kB / 0.7242 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.959e-05/0.5684, allocations: 68.5 kB / 0.7243 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.588e-05/0.5684, allocations: 4.203 kB / 0.7243 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.298e-05/0.5684, allocations: 10.59 kB / 0.7243 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of SimCode: time 3.2e-07/0.5684, allocations: 1.156 kB / 0.7243 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of Templates: time 0.005079/0.5735, allocations: 1.483 MB / 0.7258 GB, free: 13.16 MB / 0.6231 GB " [Timeout remaining time 659] 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.127278696745634] Failed to read output from testmodel.py, exit status != 0: 0.5823370907455683 0.5966140750000001 0.030728335000000002 Calling exit ...