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.001001/0.001001, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009779/0.0009779, allocations: 169 kB / 23.02 MB, free: 1.551 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.016/1.016, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.7799/0.7799, allocations: 154.6 MB / 414.5 MB, free: 0.6914 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 3.116e-06/3.116e-06, allocations: 0 / 0.5204 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.93e-05, allocations: 6.312 kB / 0.5204 GB, free: 2.18 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.004756/0.004785, allocations: 0.7037 MB / 0.5211 GB, free: 1.492 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.006118, allocations: 1.181 MB / 0.5222 GB, free: 308 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.566e-05/0.006164, allocations: 0 / 0.5222 GB, free: 308 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.06e-05/0.006195, allocations: 5.031 kB / 0.5222 GB, free: 304 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.923e-05/0.006284, allocations: 23.84 kB / 0.5222 GB, free: 280 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004324/0.006716, allocations: 125.1 kB / 0.5224 GB, free: 156 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.006872, allocations: 119.8 kB / 0.5225 GB, free: 36 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.745e-05/0.00696, allocations: 15.97 kB / 0.5225 GB, free: 20 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.007069, allocations: 64.69 kB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.997e-05/0.007159, allocations: 35.88 kB / 0.5226 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.007184, allocations: 12.78 kB / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/0.008345, allocations: 31.92 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.103e-05/0.008366, allocations: 6.969 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.242e-05/0.008418, allocations: 35.91 kB / 0.5227 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.008566, allocations: 95.81 kB / 0.5228 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.008568, allocations: 0 / 0.5228 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.052e-06/0.008569, allocations: 0 / 0.5228 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.008573, allocations: 0 / 0.5228 GB, free: 15.75 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.0003971/0.00897, allocations: 426 kB / 0.5232 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.009005, allocations: 12.03 kB / 0.5232 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.655e-05/0.009051, allocations: 9.422 kB / 0.5232 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.112e-05/0.009143, allocations: 121.3 kB / 0.5233 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.009167, allocations: 384 / 0.5233 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.009188, allocations: 9.219 kB / 0.5233 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.852e-05/0.009266, allocations: 50.95 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.009276, allocations: 192 / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.009286, allocations: 1.344 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.009294, allocations: 4.359 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.72e-05/0.009321, allocations: 12.89 kB / 0.5234 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000317/0.009638, allocations: 315.7 kB / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.832e-05/0.009686, allocations: 31.53 kB / 0.5237 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.009705, allocations: 12.25 kB / 0.5237 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-06/0.009712, allocations: 0 / 0.5237 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.474e-05/0.009797, allocations: 74.02 kB / 0.5238 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.009797, allocations: 0 / 0.5238 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.000159/0.009956, allocations: 70.78 kB / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.009985, allocations: 59.41 kB / 0.5239 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.836e-05/0.01007, allocations: 180.6 kB / 0.5241 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.01009, allocations: 30.33 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.131e-05/0.01015, allocations: 134.9 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.01016, allocations: 9.422 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-05/0.01021, allocations: 35.36 kB / 0.5243 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.01032, allocations: 0.4884 MB / 0.5248 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.002e-05/0.01039, allocations: 57.69 kB / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.981e-05/0.01046, allocations: 85.55 kB / 0.5249 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.086e-05/0.01055, allocations: 93.78 kB / 0.525 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.01055, allocations: 0 / 0.525 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001902/0.01074, allocations: 182 kB / 0.5252 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.01077, allocations: 49.56 kB / 0.5252 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.01077, allocations: 0.9688 kB / 0.5252 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.01079, allocations: 0 / 0.5252 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.668e-05/0.01083, allocations: 4 kB / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.01084, allocations: 0.5938 kB / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.01094, allocations: 16.7 kB / 0.5252 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.01096, allocations: 16.67 kB / 0.5252 GB, free: 12.93 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.93e-05/0.01104, allocations: 162 kB / 0.5254 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/0.01105, allocations: 11.89 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.224e-05/0.01108, allocations: 4 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.01109, allocations: 0 / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.01109, allocations: 0.5625 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.01109, allocations: 7.984 kB / 0.5254 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.631e-05/0.01117, allocations: 125.8 kB / 0.5255 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.01117, allocations: 0 / 0.5255 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.2e-05/0.01118, allocations: 0 / 0.5255 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.01119, allocations: 2.75 kB / 0.5255 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.01119, allocations: 7.938 kB / 0.5255 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.0112, allocations: 4.062 kB / 0.5256 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.0112, allocations: 0 / 0.5256 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.58e-05/0.01129, allocations: 100.3 kB / 0.5256 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.05e-05/0.0113, allocations: 7.953 kB / 0.5257 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.01132, allocations: 3.938 kB / 0.5257 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.453e-05/0.01133, allocations: 0 / 0.5257 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.01136, allocations: 10.73 kB / 0.5257 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.01136, allocations: 0 / 0.5257 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.87e-05/0.01141, allocations: 139.2 kB / 0.5258 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01141, allocations: 0 / 0.5258 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001492/0.01156, allocations: 23.94 kB / 0.5258 GB, free: 12.27 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 0.0001232/0.01168, allocations: 99.94 kB / 0.5259 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001756/0.01186, allocations: 157.7 kB / 0.5261 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.01186, allocations: 0 / 0.5261 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.376e-05/0.01188, allocations: 25.64 kB / 0.5261 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.01206, allocations: 15.98 kB / 0.5261 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002851/0.01235, allocations: 146 kB / 0.5263 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.259e-05/0.01238, allocations: 60.52 kB / 0.5263 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.203e-05/0.0124, allocations: 0.5625 kB / 0.5263 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.155e-05/0.01242, allocations: 13.28 kB / 0.5263 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of SimCode: time 9.11e-07/0.01242, allocations: 0 / 0.5263 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of Templates: time 0.003179/0.0156, allocations: 1.487 MB / 0.5278 GB, free: 10.3 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.9630403630435467]