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.001028/0.001028, allocations: 76.45 kB / 19.9 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.0009986/0.0009986, 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.9387/0.9387, allocations: 177.2 MB / 203.6 MB, free: 5.773 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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.728/0.728, allocations: 154.9 MB / 414.9 MB, free: 0.5156 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: 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.000946/0.000946, allocations: 75.66 kB / 0.6199 GB, free: 12.73 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.5655/0.5665, allocations: 102 MB / 0.7195 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001658/0.5681, allocations: 0.691 MB / 0.7202 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.5694, allocations: 1.16 MB / 0.7213 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.248e-05/0.5695, allocations: 5 kB / 0.7213 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.497e-05/0.5695, allocations: 0.7969 kB / 0.7213 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.5696, allocations: 16.17 kB / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000475/0.5701, allocations: 128.7 kB / 0.7214 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.5703, allocations: 129.8 kB / 0.7216 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.5704, allocations: 10.58 kB / 0.7216 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.5705, allocations: 67.41 kB / 0.7216 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.5706, allocations: 37.72 kB / 0.7217 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.5706, allocations: 12.59 kB / 0.7217 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.098e-05/0.5707, allocations: 29.8 kB / 0.7217 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.485e-05/0.5707, allocations: 11.86 kB / 0.7217 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.593e-05/0.5708, allocations: 31.67 kB / 0.7217 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.571, allocations: 138.3 kB / 0.7219 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.571, allocations: 1.062 kB / 0.7219 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.555e-06/0.571, allocations: 0 / 0.7219 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.571, allocations: 0 / 0.7219 GB, free: 21.89 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004716/0.5715, allocations: 326.2 kB / 0.7222 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.5715, allocations: 15.25 kB / 0.7222 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.611e-05/0.5716, allocations: 9.641 kB / 0.7222 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.611e-05/0.5717, allocations: 126.5 kB / 0.7223 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.5717, allocations: 3.188 kB / 0.7223 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.5717, allocations: 6.547 kB / 0.7223 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.855e-05/0.5718, allocations: 42.55 kB / 0.7224 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.5718, allocations: 192 / 0.7224 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.5718, allocations: 8.547 kB / 0.7224 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.5718, allocations: 1.125 kB / 0.7224 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.882e-05/0.5719, allocations: 12.3 kB / 0.7224 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003813/0.5722, allocations: 252.4 kB / 0.7226 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.022e-05/0.5723, allocations: 27.67 kB / 0.7227 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.182e-05/0.5723, allocations: 18.34 kB / 0.7227 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.5723, allocations: 0.5625 kB / 0.7227 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001462/0.5725, allocations: 77.67 kB / 0.7228 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.5725, allocations: 5.125 kB / 0.7228 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002076/0.5727, allocations: 70.91 kB / 0.7228 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.5727, allocations: 53.2 kB / 0.7229 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.232e-05/0.5728, allocations: 133 kB / 0.723 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.5728, allocations: 28.11 kB / 0.723 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/0.5729, allocations: 89.67 kB / 0.7231 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.224e-05/0.5729, allocations: 6.234 kB / 0.7231 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.804e-05/0.5729, allocations: 38.25 kB / 0.7232 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.794e-05/0.573, allocations: 315.1 kB / 0.7235 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.689e-05/0.5731, allocations: 71.58 kB / 0.7235 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.273e-05/0.5731, allocations: 84.7 kB / 0.7236 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.047e-05/0.5732, allocations: 91.47 kB / 0.7237 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.5732, allocations: 1.781 kB / 0.7237 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002108/0.5734, allocations: 202.7 kB / 0.7239 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.248e-05/0.5735, allocations: 42.53 kB / 0.7239 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.5735, allocations: 5.062 kB / 0.7239 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.5735, allocations: 2.031 kB / 0.724 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.764e-05/0.5736, allocations: 2.281 kB / 0.724 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.5736, allocations: 5.578 kB / 0.724 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.5737, allocations: 24.97 kB / 0.724 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.5737, allocations: 6.5 kB / 0.724 GB, free: 19.96 MB / 0.6355 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.04e-05/0.5738, allocations: 126 kB / 0.7241 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-06/0.5738, allocations: 10.23 kB / 0.7241 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.723e-05/0.5738, allocations: 15.58 kB / 0.7241 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.5738, allocations: 0 / 0.7241 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.5738, allocations: 1.469 kB / 0.7241 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.5738, allocations: 1.359 kB / 0.7241 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.185e-05/0.5739, allocations: 114.9 kB / 0.7242 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.5739, allocations: 3.938 kB / 0.7243 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.25e-05/0.5739, allocations: 3.156 kB / 0.7243 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.5739, allocations: 0 / 0.7243 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.5739, allocations: 5.922 kB / 0.7243 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.5739, allocations: 5.219 kB / 0.7243 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5739, allocations: 0 / 0.7243 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.659e-05/0.574, allocations: 94.05 kB / 0.7244 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.243e-05/0.574, allocations: 11.14 kB / 0.7244 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.574, allocations: 2.047 kB / 0.7244 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.387e-05/0.5741, allocations: 1.125 kB / 0.7244 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.5741, allocations: 3.203 kB / 0.7244 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.5741, allocations: 2.188 kB / 0.7244 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.741e-05/0.5741, allocations: 98.73 kB / 0.7245 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.5741, allocations: 0 / 0.7245 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001541/0.5743, allocations: 17.33 kB / 0.7245 GB, free: 19.5 MB / 0.6355 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.0001302/0.5744, allocations: 100.7 kB / 0.7246 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001869/0.5746, allocations: 156.3 kB / 0.7247 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.5746, allocations: 0 / 0.7247 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.575e-05/0.5746, allocations: 18.03 kB / 0.7247 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/0.5748, allocations: 20.23 kB / 0.7248 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002732/0.5751, allocations: 143.4 kB / 0.7249 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.316e-05/0.5751, allocations: 72.59 kB / 0.725 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.101e-05/0.5752, allocations: 4.5 kB / 0.725 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.893e-05/0.5752, allocations: 10.88 kB / 0.725 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of SimCode: time 5.21e-07/0.5752, allocations: 1.094 kB / 0.725 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of Templates: time 0.0036/0.5788, allocations: 1.495 MB / 0.7264 GB, free: 18.88 MB / 0.6355 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 -s cvode -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.359008620027453] Failed to read output from testmodel.py, exit status != 0: 0.5871514539467171 0.596287273 0.023073829 Calling exit ...