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.001343/0.001343, allocations: 78.64 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001555/0.001555, allocations: 163.9 kB / 22.45 MB, free: 5.367 MB / 14.72 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.476/1.476, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 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-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 1.231/1.231, allocations: 154.7 MB / 413.9 MB, free: 5.156 MB / 382.1 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 2.535e-06/2.535e-06, allocations: 0 / 0.6188 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.886e-05/3.14e-05, allocations: 3.688 kB / 0.6188 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002189/0.00222, allocations: 0.9062 MB / 0.6196 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002239/0.004459, allocations: 1.467 MB / 0.6211 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.96e-05/0.004539, allocations: 0 / 0.6211 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.024e-05/0.004589, allocations: 17 kB / 0.6211 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.00477, allocations: 59.56 kB / 0.6211 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.005877, allocations: 452.5 kB / 0.6216 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006033/0.00648, allocations: 495.1 kB / 0.622 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.006618, allocations: 33.89 kB / 0.6221 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003245/0.006942, allocations: 267.5 kB / 0.6223 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.007173, allocations: 131.6 kB / 0.6225 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.408e-05/0.007267, allocations: 52 kB / 0.6225 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.007387, allocations: 63.97 kB / 0.6226 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.055e-05/0.007428, allocations: 31.86 kB / 0.6226 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001788/0.007607, allocations: 143.8 kB / 0.6227 GB, free: 484 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006598/0.008267, allocations: 0.5533 MB / 0.6233 GB, free: 15.92 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.008271, allocations: 4 kB / 0.6233 GB, free: 15.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.204e-06/0.008273, allocations: 0 / 0.6233 GB, free: 15.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.008281, allocations: 4 kB / 0.6233 GB, free: 15.91 MB / 0.545 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.0009115/0.009193, allocations: 0.5624 MB / 0.6238 GB, free: 15.29 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.009242, allocations: 12.03 kB / 0.6238 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.009343, allocations: 28.8 kB / 0.6239 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.009557, allocations: 168.9 kB / 0.624 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.728e-05/0.009594, allocations: 16.36 kB / 0.6241 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.529e-05/0.00965, allocations: 24.38 kB / 0.6241 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.009893, allocations: 120.3 kB / 0.6242 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.009908, allocations: 4.125 kB / 0.6242 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.009923, allocations: 4.375 kB / 0.6242 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.009929, allocations: 4.375 kB / 0.6242 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.01005, allocations: 59.91 kB / 0.6243 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009593/0.01101, allocations: 0.7154 MB / 0.625 GB, free: 14.06 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.01121, allocations: 118.4 kB / 0.6251 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.749e-05/0.01128, allocations: 47.48 kB / 0.6251 GB, free: 13.85 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.0113, allocations: 4 kB / 0.6251 GB, free: 13.85 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003524/0.01165, allocations: 182.5 kB / 0.6253 GB, free: 13.64 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.01165, allocations: 0 / 0.6253 GB, free: 13.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.0005299/0.01218, allocations: 233.3 kB / 0.6255 GB, free: 13.41 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.01229, allocations: 132.5 kB / 0.6256 GB, free: 13.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002839/0.01257, allocations: 241.7 kB / 0.6259 GB, free: 13.01 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.776e-05/0.01263, allocations: 37.7 kB / 0.6259 GB, free: 12.96 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.01276, allocations: 132.5 kB / 0.626 GB, free: 12.83 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.508e-05/0.0128, allocations: 31.8 kB / 0.6261 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.01297, allocations: 89.66 kB / 0.6262 GB, free: 12.71 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.01315, allocations: 334.8 kB / 0.6265 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004217/0.01357, allocations: 275 kB / 0.6267 GB, free: 12.07 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004584/0.01403, allocations: 354.1 kB / 0.6271 GB, free: 11.67 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004954/0.01452, allocations: 368.9 kB / 0.6274 GB, free: 11.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.01453, allocations: 4 kB / 0.6274 GB, free: 11.24 MB / 0.545 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001088/0.01562, allocations: 0.694 MB / 0.6281 GB, free: 10.49 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001212/0.01574, allocations: 134.8 kB / 0.6282 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.01575, allocations: 4 kB / 0.6282 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.01577, allocations: 4.938 kB / 0.6282 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.103e-05/0.01585, allocations: 8 kB / 0.6282 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.01586, allocations: 7.938 kB / 0.6283 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006564/0.01651, allocations: 112 kB / 0.6284 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.378e-05/0.01658, allocations: 31.97 kB / 0.6284 GB, free: 10.17 MB / 0.545 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.0001721/0.01675, allocations: 146.7 kB / 0.6285 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.79e-05/0.0168, allocations: 27.86 kB / 0.6286 GB, free: 9.992 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.87e-05/0.01685, allocations: 21.33 kB / 0.6286 GB, free: 9.969 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.01685, allocations: 4 kB / 0.6286 GB, free: 9.965 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.01686, allocations: 3.938 kB / 0.6286 GB, free: 9.961 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.01687, allocations: 7.984 kB / 0.6286 GB, free: 9.953 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.0171, allocations: 185.1 kB / 0.6288 GB, free: 9.742 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.01711, allocations: 8 kB / 0.6288 GB, free: 9.734 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.094e-05/0.01715, allocations: 11.98 kB / 0.6288 GB, free: 9.723 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.01715, allocations: 3.938 kB / 0.6288 GB, free: 9.719 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.01717, allocations: 8 kB / 0.6288 GB, free: 9.711 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.01717, allocations: 0 / 0.6288 GB, free: 9.711 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.01717, allocations: 8 kB / 0.6288 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003254/0.0175, allocations: 215.4 kB / 0.629 GB, free: 9.465 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.01753, allocations: 23.86 kB / 0.629 GB, free: 9.441 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.01756, allocations: 3.984 kB / 0.629 GB, free: 9.438 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.642e-05/0.01762, allocations: 8 kB / 0.629 GB, free: 9.43 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.01766, allocations: 11.98 kB / 0.6291 GB, free: 9.418 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.01768, allocations: 11.98 kB / 0.6291 GB, free: 9.406 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001698/0.01785, allocations: 165.2 kB / 0.6292 GB, free: 9.246 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01785, allocations: 0 / 0.6292 GB, free: 9.246 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000333/0.01818, allocations: 75.88 kB / 0.6293 GB, free: 9.172 MB / 0.545 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.000217/0.0184, allocations: 115.9 kB / 0.6294 GB, free: 9.051 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008574/0.01926, allocations: 0.6006 MB / 0.63 GB, free: 8.379 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.01926, allocations: 0 / 0.63 GB, free: 8.379 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.01937, allocations: 59.91 kB / 0.6301 GB, free: 8.32 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.01982, allocations: 64.83 kB / 0.6301 GB, free: 8.258 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006756/0.02049, allocations: 349.2 kB / 0.6305 GB, free: 7.879 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.02062, allocations: 120.9 kB / 0.6306 GB, free: 7.738 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.173e-05/0.02068, allocations: 18.39 kB / 0.6306 GB, free: 7.723 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.092e-05/0.02072, allocations: 16.5 kB / 0.6306 GB, free: 7.707 MB / 0.545 GB Notification: Performance of SimCode: time 7.01e-07/0.02072, allocations: 0 / 0.6306 GB, free: 7.707 MB / 0.545 GB Notification: Performance of Templates: time 0.009896/0.03062, allocations: 5.095 MB / 0.6356 GB, free: 2.742 MB / 0.545 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: 6.127913126721978] Failed to read output from testmodel.py, exit status != 0: 0.039597855880856514 0.0553625 0.043772120000000005 Calling exit ...