Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.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.00107/0.00107, 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.001263/0.001263, allocations: 169 kB / 24.05 MB, free: 460 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.9499/0.9499, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.7702/0.7702, allocations: 154.6 MB / 415.6 MB, free: 0.5352 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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.434e-06/2.434e-06, allocations: 0 / 0.5215 GB, free: 0.8086 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.06e-05/3.303e-05, allocations: 2.875 kB / 0.5215 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002323/0.002356, allocations: 0.9364 MB / 0.5225 GB, free: 15.89 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002092/0.004448, allocations: 1.478 MB / 0.5239 GB, free: 14.4 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.743e-05/0.004535, allocations: 0 / 0.5239 GB, free: 14.4 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 5.18e-05/0.004587, allocations: 19.73 kB / 0.5239 GB, free: 14.38 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001852/0.004772, allocations: 68.89 kB / 0.524 GB, free: 14.32 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009939/0.005766, allocations: 422.3 kB / 0.5244 GB, free: 13.91 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005758/0.006342, allocations: 499 kB / 0.5249 GB, free: 13.42 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.006483, allocations: 37.92 kB / 0.5249 GB, free: 13.38 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004215/0.006904, allocations: 264.2 kB / 0.5251 GB, free: 13.12 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003326/0.01023, allocations: 136.7 kB / 0.5253 GB, free: 12.99 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001285/0.01036, allocations: 55.94 kB / 0.5253 GB, free: 12.94 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.0105, allocations: 60 kB / 0.5254 GB, free: 12.88 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 5.256e-05/0.01055, allocations: 39.83 kB / 0.5254 GB, free: 12.84 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.01072, allocations: 136.5 kB / 0.5256 GB, free: 12.71 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004871/0.01121, allocations: 339.7 kB / 0.5259 GB, free: 12.38 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.01122, allocations: 0 / 0.5259 GB, free: 12.38 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.01122, allocations: 1.25 kB / 0.5259 GB, free: 12.38 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.01123, allocations: 0 / 0.5259 GB, free: 12.38 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008645/0.01209, allocations: 0.6585 MB / 0.5265 GB, free: 11.65 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.01213, allocations: 8.906 kB / 0.5265 GB, free: 11.64 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.01224, allocations: 40.73 kB / 0.5266 GB, free: 11.61 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.01242, allocations: 159.8 kB / 0.5267 GB, free: 11.43 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.01245, allocations: 12.92 kB / 0.5267 GB, free: 11.41 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.596e-05/0.0125, allocations: 27.81 kB / 0.5268 GB, free: 11.39 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.01268, allocations: 129.5 kB / 0.5269 GB, free: 11.24 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.01269, allocations: 192 / 0.5269 GB, free: 11.24 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.0127, allocations: 384 / 0.5269 GB, free: 11.24 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.01271, allocations: 4.375 kB / 0.5269 GB, free: 11.23 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.935e-05/0.01277, allocations: 31.83 kB / 0.5269 GB, free: 11.2 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008534/0.01362, allocations: 0.8795 MB / 0.5278 GB, free: 10.28 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.01376, allocations: 121 kB / 0.5279 GB, free: 10.11 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.579e-05/0.01381, allocations: 51.3 kB / 0.5279 GB, free: 10.05 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.01382, allocations: 4.5 kB / 0.5279 GB, free: 10.04 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002176/0.01404, allocations: 170.6 kB / 0.5281 GB, free: 9.848 MB / 458.7 MB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.01404, allocations: 0 / 0.5281 GB, free: 9.848 MB / 458.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003609/0.0144, allocations: 186.8 kB / 0.5283 GB, free: 9.66 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/0.01447, allocations: 136.5 kB / 0.5284 GB, free: 9.496 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.0147, allocations: 280.2 kB / 0.5287 GB, free: 9.211 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.827e-05/0.01475, allocations: 37.7 kB / 0.5287 GB, free: 9.168 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.01488, allocations: 184.1 kB / 0.5289 GB, free: 8.98 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.119e-05/0.01492, allocations: 35.72 kB / 0.5289 GB, free: 8.945 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/0.01509, allocations: 101.1 kB / 0.529 GB, free: 8.84 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.01527, allocations: 0.504 MB / 0.5295 GB, free: 8.324 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.01553, allocations: 207 kB / 0.5297 GB, free: 8.094 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000314/0.01585, allocations: 323.4 kB / 0.53 GB, free: 7.703 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/0.0162, allocations: 341.5 kB / 0.5304 GB, free: 7.297 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.01621, allocations: 0 / 0.5304 GB, free: 7.297 MB / 458.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008181/0.01703, allocations: 0.5982 MB / 0.5309 GB, free: 6.645 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.973e-05/0.01713, allocations: 135.7 kB / 0.5311 GB, free: 6.488 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.01714, allocations: 4 kB / 0.5311 GB, free: 6.484 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.01715, allocations: 0.7188 kB / 0.5311 GB, free: 6.484 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.211e-05/0.01723, allocations: 19.92 kB / 0.5311 GB, free: 6.465 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.01724, allocations: 4.656 kB / 0.5311 GB, free: 6.461 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004136/0.01765, allocations: 90.86 kB / 0.5312 GB, free: 6.375 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.301e-05/0.0177, allocations: 23.98 kB / 0.5312 GB, free: 6.352 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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 0.0001627/0.01787, allocations: 187.6 kB / 0.5314 GB, free: 6.16 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/0.01792, allocations: 27.84 kB / 0.5314 GB, free: 6.133 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.954e-05/0.01797, allocations: 21.33 kB / 0.5314 GB, free: 6.102 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.01797, allocations: 4 kB / 0.5314 GB, free: 6.098 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.01797, allocations: 0 / 0.5314 GB, free: 6.098 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.01798, allocations: 8.875 kB / 0.5314 GB, free: 6.09 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.01817, allocations: 157.1 kB / 0.5316 GB, free: 5.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.01818, allocations: 0 / 0.5316 GB, free: 5.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.072e-05/0.01822, allocations: 11.94 kB / 0.5316 GB, free: 5.898 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.01822, allocations: 5.75 kB / 0.5316 GB, free: 5.895 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.01823, allocations: 12 kB / 0.5316 GB, free: 5.883 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.01824, allocations: 3.984 kB / 0.5316 GB, free: 5.879 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01824, allocations: 4 kB / 0.5316 GB, free: 5.875 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.0185, allocations: 207.2 kB / 0.5318 GB, free: 5.637 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-05/0.01853, allocations: 26.81 kB / 0.5318 GB, free: 5.613 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.01856, allocations: 3.938 kB / 0.5319 GB, free: 5.609 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.296e-05/0.01862, allocations: 8 kB / 0.5319 GB, free: 5.602 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.01867, allocations: 15.97 kB / 0.5319 GB, free: 5.586 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.01868, allocations: 4 kB / 0.5319 GB, free: 5.582 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001327/0.01881, allocations: 189.1 kB / 0.5321 GB, free: 5.398 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01881, allocations: 0 / 0.5321 GB, free: 5.398 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004177/0.01923, allocations: 75.88 kB / 0.5321 GB, free: 5.324 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002098/0.01944, allocations: 111.1 kB / 0.5322 GB, free: 5.211 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006266/0.02007, allocations: 0.5318 MB / 0.5328 GB, free: 4.602 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.02007, allocations: 0 / 0.5328 GB, free: 4.602 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.04e-05/0.02015, allocations: 51.58 kB / 0.5328 GB, free: 4.547 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004589/0.02061, allocations: 66.02 kB / 0.5329 GB, free: 4.488 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006418/0.02125, allocations: 336.7 kB / 0.5332 GB, free: 4.121 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.631e-05/0.02132, allocations: 79.97 kB / 0.5333 GB, free: 4.023 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.236e-05/0.02139, allocations: 17.64 kB / 0.5333 GB, free: 4.004 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003061/0.0217, allocations: 155 kB / 0.5334 GB, free: 3.852 MB / 458.7 MB Notification: Performance of SimCode: time 8.82e-07/0.0217, allocations: 0 / 0.5334 GB, free: 3.852 MB / 458.7 MB Notification: Performance of Templates: time 0.009871/0.03157, allocations: 5.592 MB / 0.5389 GB, free: 14.55 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6336891069076955]