Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.001053/0.001053, allocations: 93.06 kB / 19.65 MB, free: 280 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.001181/0.001181, allocations: 169.3 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.092/1.092, allocations: 177.1 MB / 203.4 MB, free: 5.609 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.8225/0.8225, allocations: 154.6 MB / 414.5 MB, free: 0.6875 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.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.28e-06/5.28e-06, allocations: 4 kB / 0.5203 GB, free: 2.203 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.466e-05/3.994e-05, allocations: 3.719 kB / 0.5203 GB, free: 2.199 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.003127/0.003167, allocations: 1.274 MB / 0.5216 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002625/0.005792, allocations: 1.613 MB / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001919/0.005984, allocations: 7.938 kB / 0.5231 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.006165, allocations: 31.55 kB / 0.5232 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.006365, allocations: 80.75 kB / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.007881, allocations: 496.2 kB / 0.5237 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0009648/0.008846, allocations: 0.6612 MB / 0.5244 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003399/0.009186, allocations: 109.9 kB / 0.5245 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005232/0.009709, allocations: 368.8 kB / 0.5248 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003969/0.01011, allocations: 201.5 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.01026, allocations: 64 kB / 0.5251 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.01043, allocations: 68 kB / 0.5251 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.01054, allocations: 91.2 kB / 0.5252 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002434/0.01078, allocations: 187.6 kB / 0.5254 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007111/0.0115, allocations: 486.5 kB / 0.5259 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.0115, allocations: 0 / 0.5259 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.407e-06/0.01151, allocations: 4 kB / 0.5259 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.074e-05/0.01153, allocations: 0 / 0.5259 GB, free: 12.51 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.00134/0.01287, allocations: 0.9476 MB / 0.5268 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.01292, allocations: 8.031 kB / 0.5268 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.01305, allocations: 81.2 kB / 0.5269 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006777/0.01373, allocations: 386.5 kB / 0.5273 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.087e-05/0.01377, allocations: 28.88 kB / 0.5273 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.537e-05/0.01382, allocations: 40.38 kB / 0.5273 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004153/0.01424, allocations: 398.5 kB / 0.5277 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.01425, allocations: 192 / 0.5277 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.01427, allocations: 9.281 kB / 0.5277 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.01428, allocations: 8.125 kB / 0.5277 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002229/0.01451, allocations: 269.1 kB / 0.528 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.01553, allocations: 0.7683 MB / 0.5287 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/0.01584, allocations: 333.5 kB / 0.529 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.01605, allocations: 286.1 kB / 0.5293 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.01606, allocations: 4 kB / 0.5293 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000296/0.01636, allocations: 375.2 kB / 0.5297 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=44): time 2.605e-06/0.01636, allocations: 0 / 0.5297 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.0007784/0.01714, allocations: 0.8788 MB / 0.5305 GB, free: 7.32 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.618e-05/0.01722, allocations: 191.9 kB / 0.5307 GB, free: 7.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.01746, allocations: 318.3 kB / 0.531 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.698e-05/0.0175, allocations: 41.7 kB / 0.5311 GB, free: 6.723 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.01763, allocations: 223.5 kB / 0.5313 GB, free: 6.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.423e-05/0.01772, allocations: 138.9 kB / 0.5314 GB, free: 6.363 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.01788, allocations: 139.8 kB / 0.5315 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.01803, allocations: 0.5196 MB / 0.5321 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003403/0.01837, allocations: 437.6 kB / 0.5325 GB, free: 5.207 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000395/0.01876, allocations: 0.5443 MB / 0.533 GB, free: 4.562 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005249/0.01929, allocations: 0.7614 MB / 0.5337 GB, free: 3.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.01929, allocations: 0 / 0.5337 GB, free: 3.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008957/0.02019, allocations: 1.11 MB / 0.5348 GB, free: 2.453 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.0203, allocations: 263.2 kB / 0.5351 GB, free: 2.141 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.02031, allocations: 7.125 kB / 0.5351 GB, free: 2.137 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.02033, allocations: 4 kB / 0.5351 GB, free: 2.133 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.0205, allocations: 55.91 kB / 0.5351 GB, free: 2.078 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.02051, allocations: 11.97 kB / 0.5352 GB, free: 2.066 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002842/0.02079, allocations: 109.3 kB / 0.5353 GB, free: 1.961 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-05/0.02087, allocations: 71.86 kB / 0.5353 GB, free: 1.891 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * 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.0001984/0.02107, allocations: 330.7 kB / 0.5356 GB, free: 1.531 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.52e-05/0.02112, allocations: 63.73 kB / 0.5357 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.775e-05/0.02118, allocations: 43.38 kB / 0.5357 GB, free: 1.426 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.02119, allocations: 4 kB / 0.5358 GB, free: 1.422 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.0212, allocations: 0 / 0.5358 GB, free: 1.422 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.0212, allocations: 3.984 kB / 0.5358 GB, free: 1.418 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009264/0.02213, allocations: 1.108 MB / 0.5368 GB, free: 212 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.02213, allocations: 0 / 0.5368 GB, free: 212 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.02226, allocations: 59.91 kB / 0.5369 GB, free: 152 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.02226, allocations: 0 / 0.5369 GB, free: 152 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.02228, allocations: 15.98 kB / 0.5369 GB, free: 136 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.02228, allocations: 3.938 kB / 0.5369 GB, free: 132 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.02228, allocations: 0 / 0.5369 GB, free: 132 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005291/0.02281, allocations: 0.8093 MB / 0.5377 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.02285, allocations: 35.7 kB / 0.5377 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.02288, allocations: 11.98 kB / 0.5377 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.17e-05/0.02297, allocations: 19.98 kB / 0.5378 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.672e-05/0.02304, allocations: 35.94 kB / 0.5378 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.803e-05/0.02309, allocations: 51.94 kB / 0.5379 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001248/0.02322, allocations: 211 kB / 0.5381 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.02322, allocations: 3.969 kB / 0.5381 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000304/0.02352, allocations: 111.9 kB / 0.5382 GB, free: 14.78 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * 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.0001731/0.02369, allocations: 115.2 kB / 0.5383 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008415/0.02454, allocations: 1.27 MB / 0.5395 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.02454, allocations: 4.844 kB / 0.5395 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003334/0.02487, allocations: 0.5518 MB / 0.5401 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.02529, allocations: 102.2 kB / 0.5402 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009365/0.02622, allocations: 0.856 MB / 0.541 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.777e-05/0.0263, allocations: 110.1 kB / 0.5411 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001445/0.02645, allocations: 78.33 kB / 0.5412 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.968e-05/0.02651, allocations: 41.66 kB / 0.5412 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of SimCode: time 9.21e-07/0.02651, allocations: 0 / 0.5412 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of Templates: time 0.009512/0.03602, allocations: 7.019 MB / 0.5481 GB, free: 4.547 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.113149814773351]