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.001129/0.001129, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001246/0.001246, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9399/0.9399, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.7332/0.7332, allocations: 154.6 MB / 415.6 MB, free: 0.5078 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 2.184e-06/2.184e-06, allocations: 0 / 0.5216 GB, free: 1.891 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.546e-05/1.764e-05, allocations: 2.312 kB / 0.5216 GB, free: 1.887 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001189/0.001207, allocations: 0.7001 MB / 0.5223 GB, free: 1.203 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.00246, allocations: 1.181 MB / 0.5234 GB, free: 12 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.253e-05/0.002503, allocations: 0 / 0.5234 GB, free: 12 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.455e-05/0.002527, allocations: 3.938 kB / 0.5234 GB, free: 8 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.855e-05/0.002626, allocations: 20.55 kB / 0.5234 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003712/0.002997, allocations: 132.5 kB / 0.5236 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.003161, allocations: 124.7 kB / 0.5237 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.44e-05/0.003235, allocations: 11.98 kB / 0.5237 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.81e-05/0.003333, allocations: 59.91 kB / 0.5237 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.691e-05/0.00342, allocations: 40.72 kB / 0.5238 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.003444, allocations: 12 kB / 0.5238 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.468e-05/0.003499, allocations: 24.95 kB / 0.5238 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.003517, allocations: 4 kB / 0.5238 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.419e-05/0.003561, allocations: 39.91 kB / 0.5239 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.003706, allocations: 101.5 kB / 0.524 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.003708, allocations: 3.938 kB / 0.524 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.41e-07/0.003708, allocations: 0 / 0.524 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.003712, allocations: 0 / 0.524 GB, free: 15.45 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.0003901/0.004102, allocations: 419.1 kB / 0.5244 GB, free: 15 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.004134, allocations: 8.031 kB / 0.5244 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.004172, allocations: 8.938 kB / 0.5244 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.258e-05/0.004254, allocations: 121.8 kB / 0.5245 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.004271, allocations: 4.375 kB / 0.5245 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.004286, allocations: 4.375 kB / 0.5245 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.593e-05/0.004352, allocations: 51.58 kB / 0.5246 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.004358, allocations: 192 / 0.5246 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-06/0.004364, allocations: 2 kB / 0.5246 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.00437, allocations: 8.359 kB / 0.5246 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.94e-05/0.00439, allocations: 15.86 kB / 0.5246 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000276/0.004666, allocations: 288.3 kB / 0.5249 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.585e-05/0.004711, allocations: 36.22 kB / 0.5249 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.504e-05/0.004726, allocations: 11.67 kB / 0.5249 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.298e-06/0.004731, allocations: 0.8125 kB / 0.5249 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.011e-05/0.004811, allocations: 65.05 kB / 0.525 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.004812, allocations: 1.219 kB / 0.525 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0001409/0.004953, allocations: 69.58 kB / 0.525 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.004982, allocations: 51.41 kB / 0.5251 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.006e-05/0.005072, allocations: 184.2 kB / 0.5253 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.00509, allocations: 33.64 kB / 0.5253 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.005143, allocations: 135.5 kB / 0.5254 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.00516, allocations: 15.94 kB / 0.5254 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.345e-05/0.005213, allocations: 32.36 kB / 0.5255 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.005332, allocations: 496.1 kB / 0.5259 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.743e-05/0.00539, allocations: 57.67 kB / 0.526 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.457e-05/0.005454, allocations: 85.3 kB / 0.5261 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.674e-05/0.005531, allocations: 85.44 kB / 0.5262 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.005533, allocations: 3.188 kB / 0.5262 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001938/0.005726, allocations: 172.9 kB / 0.5263 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/0.005757, allocations: 37.7 kB / 0.5264 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.005762, allocations: 3.938 kB / 0.5264 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-06/0.00577, allocations: 0 / 0.5264 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.614e-05/0.005806, allocations: 4 kB / 0.5264 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.005809, allocations: 0 / 0.5264 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.005917, allocations: 24.88 kB / 0.5264 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.005931, allocations: 4 kB / 0.5264 GB, free: 12.71 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 7.547e-05/0.006006, allocations: 162.9 kB / 0.5265 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.006019, allocations: 7.953 kB / 0.5266 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.993e-05/0.006039, allocations: 11.92 kB / 0.5266 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.006041, allocations: 0 / 0.5266 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.006042, allocations: 4 kB / 0.5266 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.006045, allocations: 1.5 kB / 0.5266 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.825e-05/0.006123, allocations: 109.2 kB / 0.5267 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.006124, allocations: 0 / 0.5267 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.806e-06/0.006133, allocations: 3.938 kB / 0.5267 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-06/0.006134, allocations: 2.75 kB / 0.5267 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.00614, allocations: 8.062 kB / 0.5267 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.00614, allocations: 0 / 0.5267 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.006143, allocations: 3.938 kB / 0.5267 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.424e-05/0.006227, allocations: 92.38 kB / 0.5268 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.092e-05/0.006238, allocations: 7.953 kB / 0.5268 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.006249, allocations: 4 kB / 0.5268 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.377e-05/0.006263, allocations: 2.438 kB / 0.5268 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.857e-05/0.006282, allocations: 7.922 kB / 0.5268 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.006284, allocations: 4 kB / 0.5268 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.859e-05/0.006333, allocations: 135.2 kB / 0.5269 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006333, allocations: 0 / 0.5269 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000197/0.00653, allocations: 19.94 kB / 0.527 GB, free: 12.08 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 9.646e-05/0.006626, allocations: 108.1 kB / 0.5271 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001621/0.006788, allocations: 149.5 kB / 0.5272 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.006789, allocations: 0.6562 kB / 0.5272 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.276e-05/0.006812, allocations: 23.61 kB / 0.5272 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/0.00699, allocations: 22.53 kB / 0.5272 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002204/0.00721, allocations: 150 kB / 0.5274 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.177e-05/0.007242, allocations: 59.34 kB / 0.5274 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.94e-05/0.007261, allocations: 4 kB / 0.5274 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.592e-05/0.007347, allocations: 90.17 kB / 0.5275 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of SimCode: time 3.91e-07/0.007348, allocations: 3.031 kB / 0.5275 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.003398/0.01075, allocations: 1.636 MB / 0.5291 GB, free: 9.871 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.5768182459287345]