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.001391/0.001391, allocations: 84.73 kB / 19.44 MB, free: 348 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.001568/0.001568, allocations: 161.7 kB / 22.75 MB, free: 1.676 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.49/1.49, 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.23/1.23, allocations: 154.6 MB / 414.2 MB, free: 0.6562 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.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.908e-06/3.908e-06, allocations: 0 / 0.5197 GB, free: 2.504 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.607e-05/3.998e-05, allocations: 2.312 kB / 0.5197 GB, free: 2.5 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002878/0.002918, allocations: 0.6937 MB / 0.5203 GB, free: 1.824 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002555/0.005473, allocations: 1.163 MB / 0.5215 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.08e-05/0.005534, allocations: 0.6562 kB / 0.5215 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.453e-05/0.005578, allocations: 3.938 kB / 0.5215 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.005707, allocations: 9.688 kB / 0.5215 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007187/0.006425, allocations: 131.6 kB / 0.5216 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002932/0.006719, allocations: 127.7 kB / 0.5217 GB, free: 392 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.006835, allocations: 5.25 kB / 0.5217 GB, free: 388 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.007019, allocations: 67.89 kB / 0.5218 GB, free: 320 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.007162, allocations: 35.88 kB / 0.5218 GB, free: 284 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.49e-05/0.007207, allocations: 12.5 kB / 0.5219 GB, free: 272 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.007308, allocations: 20 kB / 0.5219 GB, free: 252 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.396e-05/0.007342, allocations: 16.95 kB / 0.5219 GB, free: 236 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.007442, allocations: 31.97 kB / 0.5219 GB, free: 204 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003417/0.007784, allocations: 156.3 kB / 0.5221 GB, free: 48 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.007787, allocations: 0 / 0.5221 GB, free: 48 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.007789, allocations: 0.625 kB / 0.5221 GB, free: 48 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.007793, allocations: 0 / 0.5221 GB, free: 48 kB / 490.7 MB 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.0007276/0.008521, allocations: 320.5 kB / 0.5224 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.008569, allocations: 8.031 kB / 0.5224 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.446e-05/0.008664, allocations: 10.09 kB / 0.5224 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.008861, allocations: 124.9 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.008885, allocations: 4.375 kB / 0.5225 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.008915, allocations: 6.188 kB / 0.5225 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.009061, allocations: 54.17 kB / 0.5226 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.009069, allocations: 192 / 0.5226 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.009085, allocations: 4.359 kB / 0.5226 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.00909, allocations: 384 / 0.5226 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.576e-05/0.009156, allocations: 17.66 kB / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006241/0.00978, allocations: 256.5 kB / 0.5228 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.009882, allocations: 26.52 kB / 0.5229 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.721e-05/0.009929, allocations: 16.92 kB / 0.5229 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.009946, allocations: 4.75 kB / 0.5229 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002218/0.01017, allocations: 68.73 kB / 0.523 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.482e-06/0.01017, allocations: 0 / 0.523 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0003308/0.0105, allocations: 81.56 kB / 0.523 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.036e-05/0.01057, allocations: 59.34 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.01078, allocations: 127.2 kB / 0.5232 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.535e-05/0.01082, allocations: 29.7 kB / 0.5232 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.01094, allocations: 92.12 kB / 0.5233 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.01096, allocations: 7.953 kB / 0.5233 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.01107, allocations: 31.55 kB / 0.5234 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002547/0.01133, allocations: 318.8 kB / 0.5237 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.01153, allocations: 69.69 kB / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/0.01174, allocations: 84.25 kB / 0.5238 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002293/0.01197, allocations: 98.36 kB / 0.5239 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01197, allocations: 0 / 0.5239 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005664/0.01253, allocations: 201 kB / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.259e-05/0.01261, allocations: 41.62 kB / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.01262, allocations: 4.562 kB / 0.5241 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.01264, allocations: 1 kB / 0.5241 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.2e-05/0.0127, allocations: 4 kB / 0.5241 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.01271, allocations: 0 / 0.5241 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003022/0.01301, allocations: 29.78 kB / 0.5242 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/0.01304, allocations: 4 kB / 0.5242 GB, free: 13.67 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 0.0001634/0.0132, allocations: 126.7 kB / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.01324, allocations: 15.89 kB / 0.5243 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.062e-05/0.01327, allocations: 4 kB / 0.5243 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.01328, allocations: 3.25 kB / 0.5243 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.01328, allocations: 0 / 0.5243 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.01329, allocations: 0 / 0.5243 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.01349, allocations: 121.3 kB / 0.5244 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01349, allocations: 0 / 0.5244 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.074e-05/0.01351, allocations: 0 / 0.5244 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.01351, allocations: 0 / 0.5244 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.01353, allocations: 7.938 kB / 0.5244 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.037e-05/0.01354, allocations: 4.141 kB / 0.5244 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.01354, allocations: 7.016 kB / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.01376, allocations: 93.3 kB / 0.5245 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.537e-05/0.01379, allocations: 11.94 kB / 0.5246 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.01382, allocations: 11.86 kB / 0.5246 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.179e-05/0.01385, allocations: 0 / 0.5246 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.01389, allocations: 0 / 0.5246 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.0139, allocations: 7.984 kB / 0.5246 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001247/0.01403, allocations: 95.28 kB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.21e-07/0.01403, allocations: 1.5 kB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004151/0.01444, allocations: 19.98 kB / 0.5247 GB, free: 13.1 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.0002398/0.01468, allocations: 99.75 kB / 0.5248 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004076/0.01509, allocations: 159.8 kB / 0.5249 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.01509, allocations: 0 / 0.5249 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.281e-05/0.01516, allocations: 12 kB / 0.5249 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.01555, allocations: 15.98 kB / 0.525 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005524/0.0161, allocations: 158.7 kB / 0.5251 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.01621, allocations: 67.34 kB / 0.5252 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.141e-05/0.01624, allocations: 0 / 0.5252 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.965e-05/0.01629, allocations: 16.48 kB / 0.5252 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of SimCode: time 7.02e-07/0.01629, allocations: 0 / 0.5252 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of Templates: time 0.006714/0.023, allocations: 1.474 MB / 0.5266 GB, free: 11.13 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.930811990052462]