Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.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.001136/0.001136, allocations: 72.45 kB / 19.91 MB, free: 12 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.0008628/0.0008628, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.8334/0.8334, allocations: 177.2 MB / 203.6 MB, free: 5.777 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.6959/0.6959, allocations: 155 MB / 415 MB, free: 496 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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.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.0009462/0.0009462, allocations: 63.89 kB / 0.6199 GB, free: 12.75 MB / 0.5886 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.4313/0.4323, allocations: 102 MB / 0.7195 GB, free: 23.41 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001587/0.4339, allocations: 0.9144 MB / 0.7204 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.4352, allocations: 1.457 MB / 0.7218 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.602e-05/0.4352, allocations: 1.438 kB / 0.7218 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.631e-05/0.4353, allocations: 14.22 kB / 0.7218 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.4354, allocations: 67.97 kB / 0.7219 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007554/0.4361, allocations: 442 kB / 0.7223 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003574/0.4365, allocations: 499.1 kB / 0.7228 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.715e-05/0.4366, allocations: 28.83 kB / 0.7228 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.4368, allocations: 272.8 kB / 0.7231 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.437, allocations: 149.8 kB / 0.7232 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.577e-05/0.437, allocations: 48.78 kB / 0.7233 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.307e-05/0.4371, allocations: 65.27 kB / 0.7233 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.768e-05/0.4371, allocations: 37.77 kB / 0.7234 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.4373, allocations: 146.3 kB / 0.7235 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005108/0.4378, allocations: 0.5775 MB / 0.7241 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.4378, allocations: 0 / 0.7241 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4378, allocations: 0 / 0.7241 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.4378, allocations: 1.031 kB / 0.7241 GB, free: 20.7 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005249/0.4383, allocations: 0.5638 MB / 0.7246 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.4383, allocations: 14.75 kB / 0.7246 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.417e-05/0.4384, allocations: 31.69 kB / 0.7247 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.44e-05/0.4385, allocations: 163.8 kB / 0.7248 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.4385, allocations: 16.45 kB / 0.7248 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.172e-05/0.4386, allocations: 24.27 kB / 0.7248 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.4387, allocations: 121.4 kB / 0.725 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.4387, allocations: 192 / 0.725 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.4387, allocations: 11.05 kB / 0.725 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.4387, allocations: 2.312 kB / 0.725 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.533e-05/0.4388, allocations: 51.72 kB / 0.725 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005306/0.4393, allocations: 0.7347 MB / 0.7257 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.833e-05/0.4394, allocations: 119.8 kB / 0.7259 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.637e-05/0.4395, allocations: 56.19 kB / 0.7259 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/0.4395, allocations: 6.719 kB / 0.7259 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002158/0.4397, allocations: 174.4 kB / 0.7261 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 8.31e-07/0.4397, allocations: 0 / 0.7261 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.0003297/0.44, allocations: 227.7 kB / 0.7263 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.4401, allocations: 134.1 kB / 0.7264 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.4402, allocations: 248.8 kB / 0.7267 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.4403, allocations: 37.3 kB / 0.7267 GB, free: 18.58 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.194e-05/0.4403, allocations: 128.6 kB / 0.7268 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.4403, allocations: 32.17 kB / 0.7269 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.4404, allocations: 92.55 kB / 0.7269 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.478e-05/0.4405, allocations: 334.6 kB / 0.7273 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.4407, allocations: 272.7 kB / 0.7275 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.441, allocations: 354.8 kB / 0.7279 GB, free: 17.59 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.4412, allocations: 366 kB / 0.7282 GB, free: 17.28 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4412, allocations: 1.219 kB / 0.7282 GB, free: 17.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005936/0.4418, allocations: 0.6968 MB / 0.7289 GB, free: 16.81 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.632e-05/0.4418, allocations: 135.9 kB / 0.729 GB, free: 16.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4419, allocations: 2.531 kB / 0.729 GB, free: 16.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.4419, allocations: 8.062 kB / 0.729 GB, free: 16.67 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.205e-05/0.4419, allocations: 14.86 kB / 0.729 GB, free: 16.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.4419, allocations: 5.203 kB / 0.7291 GB, free: 16.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003582/0.4423, allocations: 112.5 kB / 0.7292 GB, free: 16.65 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-05/0.4423, allocations: 27.77 kB / 0.7292 GB, free: 16.65 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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 9.43e-05/0.4424, allocations: 158.6 kB / 0.7293 GB, free: 16.51 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.4425, allocations: 26.11 kB / 0.7294 GB, free: 16.49 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.954e-05/0.4425, allocations: 17.7 kB / 0.7294 GB, free: 16.47 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.4425, allocations: 7.344 kB / 0.7294 GB, free: 16.47 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4425, allocations: 1.25 kB / 0.7294 GB, free: 16.47 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.4425, allocations: 2.406 kB / 0.7294 GB, free: 16.47 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.4426, allocations: 187.1 kB / 0.7296 GB, free: 16.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4426, allocations: 0.9375 kB / 0.7296 GB, free: 16.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.578e-05/0.4426, allocations: 13.67 kB / 0.7296 GB, free: 16.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.4426, allocations: 1.156 kB / 0.7296 GB, free: 16.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.4427, allocations: 8.578 kB / 0.7296 GB, free: 16.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.4427, allocations: 2.078 kB / 0.7296 GB, free: 16.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4427, allocations: 1.906 kB / 0.7296 GB, free: 16.3 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.4429, allocations: 217.3 kB / 0.7298 GB, free: 16.16 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.734e-05/0.4429, allocations: 27.97 kB / 0.7298 GB, free: 16.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.4429, allocations: 3.562 kB / 0.7298 GB, free: 16.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.29e-05/0.4429, allocations: 14.59 kB / 0.7298 GB, free: 16.13 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.443, allocations: 12.59 kB / 0.7299 GB, free: 16.13 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.443, allocations: 12.2 kB / 0.7299 GB, free: 16.12 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.495e-05/0.4431, allocations: 169.2 kB / 0.73 GB, free: 16.02 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4431, allocations: 0 / 0.73 GB, free: 16.02 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002318/0.4433, allocations: 68.86 kB / 0.7301 GB, free: 16.02 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.976e-05/0.4434, allocations: 108.2 kB / 0.7302 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004336/0.4438, allocations: 0.6095 MB / 0.7308 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4438, allocations: 1.094 kB / 0.7308 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.588e-05/0.4439, allocations: 74.55 kB / 0.7309 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.4442, allocations: 67.78 kB / 0.7309 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004269/0.4447, allocations: 379.4 kB / 0.7313 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.779e-05/0.4447, allocations: 121.9 kB / 0.7314 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.31e-05/0.4448, allocations: 19.88 kB / 0.7314 GB, free: 15 MB / 0.6355 GB Notification: Performance of SimCode: time 3.51e-07/0.4448, allocations: 0 / 0.7314 GB, free: 15 MB / 0.6355 GB Notification: Performance of Templates: time 0.004706/0.4495, allocations: 3.558 MB / 0.7349 GB, free: 14.64 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.375967568019405] Failed to read output from testmodel.py, exit status != 0: 0.45519722416065633 0.461903325 0.022509467000000002 Calling exit ...