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.0006573/0.0006573, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009537/0.001611, allocations: 435.8 kB / 10.33 MB, free: 364 kB / 10.45 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.0006934/0.0006934, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009083/0.001602, allocations: 463.6 kB / 11.68 MB, free: 2.48 MB / 13.93 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.01/1.01, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08982/1.099, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.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.8621/0.8621, allocations: 154.6 MB / 398.5 MB, free: 0.5312 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2823/1.144, allocations: 49.04 MB / 447.6 MB, free: 6.688 MB / 426.7 MB " [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 3.827e-06/3.827e-06, allocations: 0.6562 kB / 448.9 MB, free: 5.383 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.224e-05/3.607e-05, allocations: 4.422 kB / 448.9 MB, free: 5.379 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002311/0.002347, allocations: 0.7516 MB / 449.7 MB, free: 4.664 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.0038, allocations: 1.18 MB / 450.8 MB, free: 3.473 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.676e-05/0.003846, allocations: 6.328 kB / 450.8 MB, free: 3.469 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.779e-05/0.003874, allocations: 3.938 kB / 450.8 MB, free: 3.465 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.555e-05/0.00394, allocations: 16.03 kB / 450.9 MB, free: 3.453 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003454/0.004285, allocations: 128.1 kB / 451 MB, free: 3.328 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.004481, allocations: 126.1 kB / 451.1 MB, free: 3.219 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.441e-05/0.004565, allocations: 11.98 kB / 451.1 MB, free: 3.207 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.004688, allocations: 79.95 kB / 451.2 MB, free: 3.137 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.745e-05/0.004785, allocations: 30.8 kB / 451.2 MB, free: 3.109 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.004812, allocations: 13.16 kB / 451.2 MB, free: 3.098 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.127e-05/0.004893, allocations: 24.77 kB / 451.3 MB, free: 3.074 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.328e-05/0.004917, allocations: 5.641 kB / 451.3 MB, free: 3.07 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.671e-05/0.004963, allocations: 32.42 kB / 451.3 MB, free: 3.039 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.005124, allocations: 76.56 kB / 451.4 MB, free: 2.965 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-05/0.005149, allocations: 0 / 451.4 MB, free: 2.965 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.00515, allocations: 1.844 kB / 451.4 MB, free: 2.965 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.243e-05/0.005173, allocations: 0 / 451.4 MB, free: 2.965 MB / 426.7 MB 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.0005783/0.005751, allocations: 316.1 kB / 451.7 MB, free: 2.625 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.005788, allocations: 8.031 kB / 451.7 MB, free: 2.617 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.005827, allocations: 8.922 kB / 451.7 MB, free: 2.609 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.005931, allocations: 113.1 kB / 451.8 MB, free: 2.477 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.005952, allocations: 8.375 kB / 451.8 MB, free: 2.469 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.005965, allocations: 5.656 kB / 451.8 MB, free: 2.465 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.145e-05/0.006056, allocations: 48.22 kB / 451.9 MB, free: 2.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.006066, allocations: 192 / 451.9 MB, free: 2.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.006074, allocations: 384 / 451.9 MB, free: 2.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.00608, allocations: 0.9688 kB / 451.9 MB, free: 2.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.658e-05/0.006107, allocations: 11.92 kB / 451.9 MB, free: 2.398 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002635/0.00637, allocations: 184.9 kB / 452.1 MB, free: 2.203 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.502e-05/0.006425, allocations: 25.42 kB / 452.1 MB, free: 2.172 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.474e-05/0.00644, allocations: 8.922 kB / 452.1 MB, free: 2.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.752e-06/0.006447, allocations: 1 kB / 452.1 MB, free: 2.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001059/0.006553, allocations: 63.33 kB / 452.2 MB, free: 2.086 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.884e-06/0.006554, allocations: 0 / 452.2 MB, free: 2.086 MB / 426.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001319/0.006686, allocations: 55.58 kB / 452.2 MB, free: 2.027 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.006722, allocations: 55.41 kB / 452.3 MB, free: 1.961 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.431e-05/0.006796, allocations: 122.6 kB / 452.4 MB, free: 1.828 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.006813, allocations: 29.7 kB / 452.4 MB, free: 1.793 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.448e-05/0.006858, allocations: 96.08 kB / 452.5 MB, free: 1.695 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.006873, allocations: 12.91 kB / 452.5 MB, free: 1.684 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.006917, allocations: 25.7 kB / 452.6 MB, free: 1.652 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.629e-05/0.007003, allocations: 322.8 kB / 452.9 MB, free: 1.328 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.577e-05/0.007059, allocations: 46.91 kB / 452.9 MB, free: 1.277 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.547e-05/0.007115, allocations: 72.2 kB / 453 MB, free: 1.191 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.774e-05/0.007192, allocations: 81.42 kB / 453.1 MB, free: 1.098 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.007196, allocations: 0 / 453.1 MB, free: 1.098 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00015/0.007346, allocations: 150 kB / 453.2 MB, free: 0.9336 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.604e-05/0.007392, allocations: 41.69 kB / 453.3 MB, free: 0.8867 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.0074, allocations: 4.969 kB / 453.3 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.007415, allocations: 7.938 kB / 453.3 MB, free: 0.875 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.625e-05/0.007471, allocations: 5.25 kB / 453.3 MB, free: 0.8711 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.007475, allocations: 4.078 kB / 453.3 MB, free: 0.8672 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.007591, allocations: 19.97 kB / 453.3 MB, free: 0.8477 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.007605, allocations: 9.422 kB / 453.3 MB, free: 0.8398 MB / 426.7 MB 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 8.027e-05/0.007685, allocations: 113.8 kB / 453.4 MB, free: 0.7188 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.007699, allocations: 8.547 kB / 453.4 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.583e-05/0.007725, allocations: 4.844 kB / 453.4 MB, free: 0.707 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.007729, allocations: 3.938 kB / 453.4 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.007732, allocations: 5.25 kB / 453.4 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.007736, allocations: 1.781 kB / 453.4 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.802e-05/0.007814, allocations: 73.88 kB / 453.5 MB, free: 0.6094 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.007816, allocations: 0.625 kB / 453.5 MB, free: 0.6094 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.492e-05/0.007831, allocations: 4 kB / 453.5 MB, free: 0.6055 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.346e-05/0.007844, allocations: 9.859 kB / 453.5 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.007846, allocations: 0 / 453.5 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-06/0.00785, allocations: 0 / 453.5 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.007854, allocations: 7.922 kB / 453.5 MB, free: 0.5898 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.007855, allocations: 0 / 453.5 MB, free: 0.5898 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.783e-05/0.007943, allocations: 70.75 kB / 453.6 MB, free: 0.5039 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-06/0.007953, allocations: 4 kB / 453.6 MB, free: 0.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.61e-05/0.007969, allocations: 3.938 kB / 453.6 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.421e-05/0.007993, allocations: 7.922 kB / 453.6 MB, free: 500 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.007996, allocations: 0 / 453.6 MB, free: 500 kB / 426.7 MB Notification: Performance of sorting global known variables: time 2.293e-05/0.008019, allocations: 29.67 kB / 453.6 MB, free: 468 kB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008019, allocations: 0 / 453.6 MB, free: 468 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001246/0.008144, allocations: 20.81 kB / 453.7 MB, free: 448 kB / 426.7 MB 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.0001348/0.008279, allocations: 77.33 kB / 453.7 MB, free: 364 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.00843, allocations: 142.5 kB / 453.9 MB, free: 200 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.008435, allocations: 0 / 453.9 MB, free: 200 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.77e-05/0.008453, allocations: 14.11 kB / 453.9 MB, free: 184 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.008589, allocations: 25.17 kB / 453.9 MB, free: 160 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004704/0.009059, allocations: 153.5 kB / 454.1 MB, free: 15.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.301e-05/0.009092, allocations: 55.38 kB / 454.1 MB, free: 15.91 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.457e-05/0.009127, allocations: 4.609 kB / 454.1 MB, free: 15.91 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.441e-05/0.009211, allocations: 72.17 kB / 454.2 MB, free: 15.84 MB / 442.7 MB Notification: Performance of SimCode: time 8.31e-07/0.009212, allocations: 0 / 454.2 MB, free: 15.84 MB / 442.7 MB Notification: Performance of Templates: time 0.003472/0.01268, allocations: 1.658 MB / 455.9 MB, free: 14.3 MB / 442.7 MB " [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.674157685600221]