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.0024/0.0024, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.0031/0.0031, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.585/1.585, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 1.333/1.333, allocations: 154.6 MB / 414.1 MB, free: 0.6406 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 178] 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 3.377e-06/3.377e-06, allocations: 0 / 0.5196 GB, free: 2.52 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.566e-05/3.903e-05, allocations: 4.938 kB / 0.5196 GB, free: 2.516 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002665/0.002704, allocations: 0.9202 MB / 0.5205 GB, free: 1.613 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002687/0.005391, allocations: 1.474 MB / 0.522 GB, free: 132 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.005537, allocations: 0 / 0.522 GB, free: 132 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 6.1e-05/0.005598, allocations: 11.81 kB / 0.522 GB, free: 120 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.005829, allocations: 63.52 kB / 0.5221 GB, free: 56 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.007046, allocations: 436.5 kB / 0.5225 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0007892/0.007836, allocations: 495.6 kB / 0.5229 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.00799, allocations: 34.89 kB / 0.523 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004796/0.00847, allocations: 259.6 kB / 0.5232 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002724/0.008742, allocations: 136.6 kB / 0.5234 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 9.943e-05/0.008841, allocations: 52 kB / 0.5234 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.008993, allocations: 55.98 kB / 0.5235 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.528e-05/0.009048, allocations: 40.66 kB / 0.5235 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002266/0.009275, allocations: 139.7 kB / 0.5236 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007592/0.01003, allocations: 0.5619 MB / 0.5242 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.01004, allocations: 0 / 0.5242 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.994e-06/0.01004, allocations: 0 / 0.5242 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.01005, allocations: 1.031 kB / 0.5242 GB, free: 13.88 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001079/0.01113, allocations: 0.6699 MB / 0.5248 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.01117, allocations: 9.25 kB / 0.5248 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.01131, allocations: 36.8 kB / 0.5249 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005082/0.01182, allocations: 171.8 kB / 0.525 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.079e-05/0.01186, allocations: 16.38 kB / 0.5251 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.023e-05/0.01192, allocations: 21 kB / 0.5251 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.01217, allocations: 140.5 kB / 0.5252 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.01218, allocations: 4.125 kB / 0.5252 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.01221, allocations: 4.375 kB / 0.5252 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.01221, allocations: 384 / 0.5252 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.01236, allocations: 59.91 kB / 0.5253 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.01359, allocations: 0.9464 MB / 0.5262 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.01382, allocations: 154.3 kB / 0.5263 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.01393, allocations: 62.8 kB / 0.5264 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.01395, allocations: 4 kB / 0.5264 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003323/0.01428, allocations: 196.3 kB / 0.5266 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.893e-06/0.01428, allocations: 0.5938 kB / 0.5266 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0005821/0.01486, allocations: 249.5 kB / 0.5268 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.01498, allocations: 133.5 kB / 0.527 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004/0.01538, allocations: 340.3 kB / 0.5273 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.605e-05/0.01544, allocations: 42.17 kB / 0.5273 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.01562, allocations: 187.3 kB / 0.5275 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.47e-05/0.01566, allocations: 36.31 kB / 0.5275 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/0.01588, allocations: 112.1 kB / 0.5276 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003101/0.01619, allocations: 0.5118 MB / 0.5281 GB, free: 9.488 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004632/0.01665, allocations: 306.1 kB / 0.5284 GB, free: 9.164 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005789/0.01723, allocations: 419.4 kB / 0.5288 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005958/0.01783, allocations: 436.5 kB / 0.5293 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.01783, allocations: 0 / 0.5293 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001281/0.01911, allocations: 0.7541 MB / 0.53 GB, free: 7.371 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001315/0.01924, allocations: 138.8 kB / 0.5301 GB, free: 7.211 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.01925, allocations: 0 / 0.5301 GB, free: 7.211 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.01927, allocations: 6.75 kB / 0.5301 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.665e-05/0.01936, allocations: 15.94 kB / 0.5301 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.01937, allocations: 7.984 kB / 0.5302 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005544/0.01992, allocations: 93.89 kB / 0.5302 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/0.01999, allocations: 19.98 kB / 0.5303 GB, free: 7.074 MB / 0.4948 GB 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.0002428/0.02023, allocations: 201.1 kB / 0.5305 GB, free: 6.867 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.313e-05/0.02028, allocations: 24.77 kB / 0.5305 GB, free: 6.844 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.961e-05/0.02034, allocations: 25.33 kB / 0.5305 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.02034, allocations: 0.7812 kB / 0.5305 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.02035, allocations: 4 kB / 0.5305 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.02036, allocations: 0.875 kB / 0.5305 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003059/0.02066, allocations: 224.4 kB / 0.5307 GB, free: 6.559 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.02067, allocations: 0 / 0.5307 GB, free: 6.559 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.58e-05/0.02072, allocations: 12.59 kB / 0.5307 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.02073, allocations: 3.406 kB / 0.5307 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.02074, allocations: 4 kB / 0.5307 GB, free: 6.543 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.02075, allocations: 3.984 kB / 0.5307 GB, free: 6.539 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.02075, allocations: 7.984 kB / 0.5308 GB, free: 6.531 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004138/0.02116, allocations: 251.2 kB / 0.531 GB, free: 6.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.692e-05/0.0212, allocations: 15.89 kB / 0.531 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/0.02124, allocations: 8 kB / 0.531 GB, free: 6.227 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.031e-05/0.02129, allocations: 3.938 kB / 0.531 GB, free: 6.223 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.222e-05/0.02135, allocations: 19.97 kB / 0.531 GB, free: 6.203 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.02136, allocations: 4.797 kB / 0.531 GB, free: 6.199 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002266/0.02159, allocations: 228.1 kB / 0.5313 GB, free: 5.98 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.02159, allocations: 0 / 0.5313 GB, free: 5.98 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003623/0.02195, allocations: 79.88 kB / 0.5313 GB, free: 5.902 MB / 0.4948 GB 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.0001907/0.02214, allocations: 97.22 kB / 0.5314 GB, free: 5.797 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001319/0.02346, allocations: 0.7182 MB / 0.5321 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.02347, allocations: 0 / 0.5321 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.0236, allocations: 76.16 kB / 0.5322 GB, free: 4.926 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004924/0.02409, allocations: 68 kB / 0.5323 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007481/0.02484, allocations: 374.1 kB / 0.5326 GB, free: 4.457 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.02498, allocations: 115.2 kB / 0.5327 GB, free: 4.324 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.826e-05/0.02505, allocations: 18.92 kB / 0.5328 GB, free: 4.305 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.022e-05/0.0251, allocations: 24.97 kB / 0.5328 GB, free: 4.281 MB / 0.4948 GB Notification: Performance of SimCode: time 1.203e-06/0.0251, allocations: 0.75 kB / 0.5328 GB, free: 4.281 MB / 0.4948 GB Notification: Performance of Templates: time 0.01158/0.03668, allocations: 5.055 MB / 0.5377 GB, free: 15.5 MB / 0.5105 GB " [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: 6.396116115967743]