Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009006/0.0009006, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.0009962/0.0009962, allocations: 169 kB / 23.27 MB, free: 1.223 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.8894/0.8894, allocations: 177.2 MB / 203.7 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7373/0.7373, allocations: 154.6 MB / 414.8 MB, free: 0.5156 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.022e-06/1.022e-06, allocations: 0 / 0.5208 GB, free: 1.824 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.428e-06/1.045e-05, allocations: 2.875 kB / 0.5208 GB, free: 1.82 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001037/0.001047, allocations: 0.7022 MB / 0.5215 GB, free: 1.137 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009465/0.001994, allocations: 1.181 MB / 0.5226 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.548e-05/0.002029, allocations: 4 kB / 0.5226 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.052e-05/0.00205, allocations: 7.922 kB / 0.5227 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.913e-05/0.002109, allocations: 13.09 kB / 0.5227 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.002396, allocations: 131.6 kB / 0.5228 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.002509, allocations: 128.4 kB / 0.5229 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.477e-05/0.002564, allocations: 9.781 kB / 0.5229 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.706e-05/0.002641, allocations: 63.89 kB / 0.523 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.613e-05/0.002707, allocations: 35.94 kB / 0.523 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.002725, allocations: 12 kB / 0.523 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.319e-05/0.002768, allocations: 23.94 kB / 0.5231 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.002784, allocations: 9.359 kB / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.002817, allocations: 39.91 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.002924, allocations: 91.77 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.002926, allocations: 0.625 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.81e-07/0.002926, allocations: 0 / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.605e-06/0.002929, allocations: 1.188 kB / 0.5232 GB, free: 15.39 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.0003173/0.003246, allocations: 430 kB / 0.5236 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.003277, allocations: 12.03 kB / 0.5236 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.003305, allocations: 5.656 kB / 0.5236 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.325e-05/0.003369, allocations: 116.6 kB / 0.5237 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.003382, allocations: 4.938 kB / 0.5237 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.003393, allocations: 8.875 kB / 0.5237 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.554e-05/0.003449, allocations: 50.94 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-06/0.003454, allocations: 1.406 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.378e-06/0.003458, allocations: 384 / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.003463, allocations: 384 / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.642e-05/0.00348, allocations: 16.7 kB / 0.5238 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002166/0.003696, allocations: 292.3 kB / 0.5241 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.3e-05/0.003729, allocations: 31.7 kB / 0.5241 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.094e-05/0.00374, allocations: 15.09 kB / 0.5241 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.278e-06/0.003745, allocations: 0 / 0.5241 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.57e-05/0.00381, allocations: 64.98 kB / 0.5242 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.073e-06/0.003811, allocations: 0 / 0.5242 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0001105/0.003922, allocations: 69.56 kB / 0.5243 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.019e-05/0.003942, allocations: 55.41 kB / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.234e-05/0.004014, allocations: 180 kB / 0.5245 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.004028, allocations: 29.7 kB / 0.5245 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.004073, allocations: 146.8 kB / 0.5246 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.528e-06/0.004083, allocations: 4.641 kB / 0.5247 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.004123, allocations: 39.34 kB / 0.5247 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.25e-05/0.004216, allocations: 0.4889 MB / 0.5252 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.105e-05/0.004257, allocations: 46.62 kB / 0.5252 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.997e-05/0.004307, allocations: 92.72 kB / 0.5253 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.851e-05/0.004365, allocations: 82.34 kB / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.004366, allocations: 3.938 kB / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001383/0.004505, allocations: 173.8 kB / 0.5255 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.004528, allocations: 41.69 kB / 0.5256 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.004532, allocations: 3.938 kB / 0.5256 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.004541, allocations: 1.812 kB / 0.5256 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.804e-05/0.004569, allocations: 4 kB / 0.5256 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.004571, allocations: 0 / 0.5256 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.318e-05/0.004654, allocations: 17.7 kB / 0.5256 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.004667, allocations: 15.98 kB / 0.5256 GB, free: 12.63 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 5.997e-05/0.004727, allocations: 160.5 kB / 0.5258 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-06/0.004736, allocations: 7.953 kB / 0.5258 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.354e-05/0.004759, allocations: 14.69 kB / 0.5258 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.004761, allocations: 0 / 0.5258 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.004762, allocations: 0 / 0.5258 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.004765, allocations: 4 kB / 0.5258 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.236e-05/0.004828, allocations: 101.2 kB / 0.5259 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.004828, allocations: 0 / 0.5259 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.377e-06/0.004838, allocations: 7.938 kB / 0.5259 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.00484, allocations: 3.984 kB / 0.5259 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-06/0.004844, allocations: 5.938 kB / 0.5259 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.004846, allocations: 4 kB / 0.5259 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.004847, allocations: 3.938 kB / 0.5259 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.499e-05/0.004912, allocations: 88.39 kB / 0.526 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-06/0.00492, allocations: 7.938 kB / 0.526 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.877e-06/0.004929, allocations: 12.98 kB / 0.526 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.042e-05/0.00494, allocations: 0 / 0.526 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.272e-05/0.004952, allocations: 4.656 kB / 0.526 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.004955, allocations: 4 kB / 0.526 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.703e-05/0.004992, allocations: 131.8 kB / 0.5262 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.004992, allocations: 0 / 0.5262 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001299/0.005122, allocations: 27.09 kB / 0.5262 GB, free: 12 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 8.075e-05/0.005203, allocations: 103.2 kB / 0.5263 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.005325, allocations: 145 kB / 0.5264 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.005326, allocations: 3.938 kB / 0.5264 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.719e-05/0.005343, allocations: 19.72 kB / 0.5265 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.005472, allocations: 19.2 kB / 0.5265 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001717/0.005643, allocations: 160.5 kB / 0.5266 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.246e-05/0.005666, allocations: 55.36 kB / 0.5267 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.32e-05/0.005689, allocations: 7.984 kB / 0.5267 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.854e-05/0.005758, allocations: 86.19 kB / 0.5268 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of SimCode: time 3.9e-07/0.005758, allocations: 2.906 kB / 0.5268 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of Templates: time 0.002476/0.008234, allocations: 1.601 MB / 0.5283 GB, free: 9.836 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.391032542102039]