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.001461/0.001461, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001558/0.001558, allocations: 173 kB / 23.49 MB, free: 1.055 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.9554/0.9554, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.8244/0.8244, allocations: 154.6 MB / 414.9 MB, free: 0.6875 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.412e-06/1.412e-06, allocations: 0 / 0.5204 GB, free: 1.375 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.187e-05, allocations: 5.375 kB / 0.5204 GB, free: 1.371 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001308/0.00133, allocations: 0.7145 MB / 0.5211 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.002576, allocations: 1.169 MB / 0.5222 GB, free: 15.5 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.47e-05/0.002631, allocations: 1.406 kB / 0.5222 GB, free: 15.5 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.352e-05/0.002665, allocations: 3.938 kB / 0.5222 GB, free: 15.5 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 9.05e-05/0.002755, allocations: 21.39 kB / 0.5223 GB, free: 15.48 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004589/0.003214, allocations: 124.8 kB / 0.5224 GB, free: 15.36 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002167/0.003431, allocations: 123.8 kB / 0.5225 GB, free: 15.23 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.003543, allocations: 12.67 kB / 0.5225 GB, free: 15.22 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.003667, allocations: 71.83 kB / 0.5226 GB, free: 15.15 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.003772, allocations: 33.17 kB / 0.5226 GB, free: 15.12 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.238e-05/0.003804, allocations: 15.98 kB / 0.5226 GB, free: 15.11 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.503e-05/0.003869, allocations: 27.98 kB / 0.5226 GB, free: 15.08 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.003891, allocations: 7.938 kB / 0.5227 GB, free: 15.07 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 5.185e-05/0.003942, allocations: 29.17 kB / 0.5227 GB, free: 15.04 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.004093, allocations: 95.77 kB / 0.5228 GB, free: 14.95 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.004094, allocations: 0 / 0.5228 GB, free: 14.95 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004095, allocations: 0.5938 kB / 0.5228 GB, free: 14.95 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.004099, allocations: 1.875 kB / 0.5228 GB, free: 14.95 MB / 458.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.0004683/0.004567, allocations: 426.1 kB / 0.5232 GB, free: 14.49 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.004615, allocations: 12.03 kB / 0.5232 GB, free: 14.48 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.429e-05/0.00467, allocations: 4.938 kB / 0.5232 GB, free: 14.47 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.00478, allocations: 128.5 kB / 0.5233 GB, free: 14.32 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.004807, allocations: 2.031 kB / 0.5233 GB, free: 14.32 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.004828, allocations: 12.38 kB / 0.5233 GB, free: 14.31 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.004934, allocations: 46.95 kB / 0.5234 GB, free: 14.25 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.004944, allocations: 192 / 0.5234 GB, free: 14.25 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.004955, allocations: 384 / 0.5234 GB, free: 14.25 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.004965, allocations: 1.844 kB / 0.5234 GB, free: 14.25 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.225e-05/0.004997, allocations: 11.94 kB / 0.5234 GB, free: 14.24 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000398/0.005395, allocations: 315.7 kB / 0.5237 GB, free: 13.9 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.709e-05/0.005452, allocations: 28.03 kB / 0.5237 GB, free: 13.86 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.629e-05/0.005478, allocations: 15.73 kB / 0.5237 GB, free: 13.84 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.145e-06/0.005486, allocations: 0.9688 kB / 0.5237 GB, free: 13.84 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.913e-05/0.005586, allocations: 72.92 kB / 0.5238 GB, free: 13.75 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.005587, allocations: 0 / 0.5238 GB, free: 13.75 MB / 458.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001885/0.005776, allocations: 63.03 kB / 0.5239 GB, free: 13.69 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.005815, allocations: 59.41 kB / 0.5239 GB, free: 13.62 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.005935, allocations: 185.9 kB / 0.5241 GB, free: 13.42 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.005952, allocations: 26.2 kB / 0.5241 GB, free: 13.39 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.71e-05/0.006009, allocations: 138.9 kB / 0.5243 GB, free: 13.25 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.402e-05/0.006023, allocations: 12.92 kB / 0.5243 GB, free: 13.23 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/0.00607, allocations: 35.36 kB / 0.5243 GB, free: 13.19 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.006201, allocations: 496.1 kB / 0.5248 GB, free: 12.7 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.199e-05/0.006273, allocations: 62.86 kB / 0.5248 GB, free: 12.63 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.177e-05/0.006345, allocations: 80.75 kB / 0.5249 GB, free: 12.53 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.676e-05/0.006432, allocations: 94.47 kB / 0.525 GB, free: 12.42 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.006433, allocations: 0 / 0.525 GB, free: 12.42 MB / 458.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002013/0.006635, allocations: 180.9 kB / 0.5252 GB, free: 12.23 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.006667, allocations: 43.45 kB / 0.5252 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.006671, allocations: 0 / 0.5252 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.006684, allocations: 0 / 0.5252 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.35e-05/0.006738, allocations: 7.984 kB / 0.5252 GB, free: 12.17 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.006745, allocations: 3.938 kB / 0.5252 GB, free: 12.17 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.895e-05/0.006844, allocations: 17.02 kB / 0.5252 GB, free: 12.15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.006857, allocations: 8.938 kB / 0.5253 GB, free: 12.14 MB / 458.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 7.514e-05/0.006932, allocations: 164.6 kB / 0.5254 GB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.055e-05/0.006942, allocations: 15.38 kB / 0.5254 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.578e-05/0.006968, allocations: 11.98 kB / 0.5254 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.006971, allocations: 0 / 0.5254 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.006974, allocations: 0 / 0.5254 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.006979, allocations: 4 kB / 0.5254 GB, free: 11.94 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.763e-05/0.007056, allocations: 124.6 kB / 0.5256 GB, free: 11.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.007058, allocations: 3.984 kB / 0.5256 GB, free: 11.78 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.837e-05/0.007076, allocations: 64 / 0.5256 GB, free: 11.78 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.007079, allocations: 4 kB / 0.5256 GB, free: 11.78 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.007087, allocations: 10.72 kB / 0.5256 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.007088, allocations: 3.938 kB / 0.5256 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.007089, allocations: 0 / 0.5256 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.307e-05/0.007182, allocations: 96.33 kB / 0.5257 GB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-06/0.007192, allocations: 7.984 kB / 0.5257 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.007203, allocations: 3.938 kB / 0.5257 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.19e-05/0.007215, allocations: 0 / 0.5257 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.007243, allocations: 5.562 kB / 0.5257 GB, free: 11.63 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.007246, allocations: 0 / 0.5257 GB, free: 11.63 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.751e-05/0.007294, allocations: 141.6 kB / 0.5258 GB, free: 11.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007294, allocations: 0 / 0.5258 GB, free: 11.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001393/0.007433, allocations: 27.94 kB / 0.5259 GB, free: 11.47 MB / 458.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.0001087/0.007542, allocations: 100.5 kB / 0.5259 GB, free: 11.36 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.007727, allocations: 153.3 kB / 0.5261 GB, free: 11.19 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.007728, allocations: 0.8438 kB / 0.5261 GB, free: 11.19 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.375e-05/0.007752, allocations: 15.69 kB / 0.5261 GB, free: 11.17 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.007922, allocations: 26.58 kB / 0.5261 GB, free: 11.15 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002716/0.008194, allocations: 138.2 kB / 0.5263 GB, free: 10.98 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.295e-05/0.008227, allocations: 55.36 kB / 0.5263 GB, free: 10.91 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.778e-05/0.008245, allocations: 3.984 kB / 0.5263 GB, free: 10.91 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.68e-05/0.008261, allocations: 14.94 kB / 0.5263 GB, free: 10.89 MB / 458.7 MB Notification: Performance of SimCode: time 4.31e-07/0.008262, allocations: 0 / 0.5263 GB, free: 10.89 MB / 458.7 MB Notification: Performance of Templates: time 0.003328/0.01159, allocations: 1.481 MB / 0.5278 GB, free: 9.508 MB / 458.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.8050726840738207]