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.0007874/0.0007874, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.0008032/0.0008032, allocations: 178.2 kB / 23.21 MB, free: 1.34 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.8329/0.8329, allocations: 177.1 MB / 203.5 MB, free: 5.746 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-531:686: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-531:694: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.6829/0.6829, allocations: 154.6 MB / 414.5 MB, free: 0.8008 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.385e-06/2.385e-06, allocations: 0 / 0.6193 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.973e-05/3.211e-05, allocations: 2.781 kB / 0.6193 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001421/0.001453, allocations: 0.9088 MB / 0.6202 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.00286, allocations: 1.478 MB / 0.6217 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.73e-05/0.002927, allocations: 0 / 0.6217 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.891e-05/0.002966, allocations: 11.81 kB / 0.6217 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.00309, allocations: 63.5 kB / 0.6217 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007589/0.003849, allocations: 451.9 kB / 0.6222 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003944/0.004243, allocations: 495 kB / 0.6226 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.004362, allocations: 33.89 kB / 0.6227 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002289/0.00459, allocations: 267.5 kB / 0.6229 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.004751, allocations: 131.6 kB / 0.6231 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.663e-05/0.004798, allocations: 52 kB / 0.6231 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.394e-05/0.004882, allocations: 59.98 kB / 0.6232 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.143e-05/0.004913, allocations: 35.8 kB / 0.6232 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.005021, allocations: 143.8 kB / 0.6233 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004165/0.005438, allocations: 0.5611 MB / 0.6239 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.00544, allocations: 4 kB / 0.6239 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.423e-06/0.005442, allocations: 0 / 0.6239 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.005448, allocations: 0 / 0.6239 GB, free: 8.484 MB / 0.5886 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.000621/0.006069, allocations: 0.5586 MB / 0.6244 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.006106, allocations: 8.031 kB / 0.6244 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.873e-05/0.006174, allocations: 32.8 kB / 0.6245 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.006307, allocations: 164.9 kB / 0.6246 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.006331, allocations: 12.38 kB / 0.6246 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.006366, allocations: 24.36 kB / 0.6247 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.006515, allocations: 125.6 kB / 0.6248 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.006524, allocations: 4.188 kB / 0.6248 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.006534, allocations: 384 / 0.6248 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.00654, allocations: 4.375 kB / 0.6248 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.019e-05/0.00662, allocations: 63.83 kB / 0.6248 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000633/0.007253, allocations: 0.7194 MB / 0.6256 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.007371, allocations: 118.4 kB / 0.6257 GB, free: 6.48 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.048e-05/0.007421, allocations: 51.42 kB / 0.6257 GB, free: 6.418 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.007433, allocations: 8 kB / 0.6257 GB, free: 6.41 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002119/0.007645, allocations: 178.6 kB / 0.6259 GB, free: 6.211 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=16): time 9.01e-07/0.007645, allocations: 0 / 0.6259 GB, free: 6.211 MB / 0.5886 GB Notification: Performance of matching and sorting (n=16): time 0.000326/0.007971, allocations: 221.4 kB / 0.6261 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.008027, allocations: 144.4 kB / 0.6262 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.008186, allocations: 233.7 kB / 0.6265 GB, free: 5.586 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.008219, allocations: 37.7 kB / 0.6265 GB, free: 5.543 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.036e-05/0.008289, allocations: 128.6 kB / 0.6266 GB, free: 5.414 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.008311, allocations: 31.78 kB / 0.6267 GB, free: 5.383 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.008416, allocations: 93.66 kB / 0.6267 GB, free: 5.285 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.004e-05/0.008496, allocations: 334.8 kB / 0.6271 GB, free: 4.949 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/0.008738, allocations: 271 kB / 0.6273 GB, free: 4.656 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/0.008997, allocations: 358.4 kB / 0.6277 GB, free: 4.246 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.009279, allocations: 372.8 kB / 0.628 GB, free: 3.82 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.009282, allocations: 4 kB / 0.628 GB, free: 3.816 MB / 0.5886 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005988/0.009881, allocations: 0.694 MB / 0.6287 GB, free: 3.066 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.659e-05/0.009947, allocations: 130.8 kB / 0.6288 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.009955, allocations: 4 kB / 0.6288 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.00997, allocations: 7.984 kB / 0.6288 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.53e-05/0.01004, allocations: 15.94 kB / 0.6289 GB, free: 2.887 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.01004, allocations: 4 kB / 0.6289 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003106/0.01035, allocations: 112 kB / 0.629 GB, free: 2.773 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.01039, allocations: 31.97 kB / 0.629 GB, free: 2.742 MB / 0.5886 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.0001087/0.0105, allocations: 158.6 kB / 0.6291 GB, free: 2.578 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.01052, allocations: 19.91 kB / 0.6292 GB, free: 2.559 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.364e-05/0.01055, allocations: 25.33 kB / 0.6292 GB, free: 2.531 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.01055, allocations: 4 kB / 0.6292 GB, free: 2.527 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.01056, allocations: 0 / 0.6292 GB, free: 2.527 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01056, allocations: 0 / 0.6292 GB, free: 2.527 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.01069, allocations: 185.1 kB / 0.6294 GB, free: 2.316 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01069, allocations: 0.9375 kB / 0.6294 GB, free: 2.316 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.23e-05/0.01071, allocations: 8 kB / 0.6294 GB, free: 2.309 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.01072, allocations: 7.984 kB / 0.6294 GB, free: 2.301 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.01073, allocations: 11.94 kB / 0.6294 GB, free: 2.289 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.01073, allocations: 4 kB / 0.6294 GB, free: 2.285 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.01073, allocations: 0 / 0.6294 GB, free: 2.285 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.01093, allocations: 223.4 kB / 0.6296 GB, free: 2.039 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.822e-05/0.01095, allocations: 11.91 kB / 0.6296 GB, free: 2.027 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.01097, allocations: 11.98 kB / 0.6296 GB, free: 2.016 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.296e-05/0.011, allocations: 3.984 kB / 0.6296 GB, free: 2.012 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.01104, allocations: 19.92 kB / 0.6297 GB, free: 1.992 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.01105, allocations: 7.984 kB / 0.6297 GB, free: 1.984 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.768e-05/0.01114, allocations: 169.2 kB / 0.6298 GB, free: 1.816 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01114, allocations: 0 / 0.6298 GB, free: 1.816 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002211/0.01137, allocations: 79.88 kB / 0.6299 GB, free: 1.738 MB / 0.5886 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.0001349/0.0115, allocations: 111.5 kB / 0.63 GB, free: 1.621 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004785/0.01198, allocations: 0.6017 MB / 0.6306 GB, free: 0.9453 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01198, allocations: 0 / 0.6306 GB, free: 0.9453 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.274e-05/0.01207, allocations: 79.91 kB / 0.6307 GB, free: 0.8672 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.01235, allocations: 60.83 kB / 0.6307 GB, free: 0.8086 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004352/0.01278, allocations: 363.1 kB / 0.6311 GB, free: 420 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.76e-05/0.01285, allocations: 120.9 kB / 0.6312 GB, free: 280 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.111e-05/0.01288, allocations: 24.5 kB / 0.6312 GB, free: 256 kB / 0.5886 GB Notification: Performance of SimCode: time 5.81e-07/0.01288, allocations: 3.938 kB / 0.6312 GB, free: 252 kB / 0.5886 GB Notification: Performance of Templates: time 0.003796/0.01668, allocations: 3.554 MB / 0.6347 GB, free: 12.73 MB / 0.6042 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.043229589238763] Failed to read output from testmodel.py, exit status != 0: 0.02247926313430071 0.03042633 0.023385454 Calling exit ...