Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.0006894/0.0006894, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008999/0.001589, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007149/0.0007149, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009096/0.001624, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08602/1.102, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.8086/0.8086, allocations: 154.6 MB / 398.8 MB, free: 392 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2925/1.101, allocations: 49.05 MB / 447.8 MB, free: 6.586 MB / 426.7 MB " [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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.073e-06/2.073e-06, allocations: 0 / 449.1 MB, free: 5.281 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.559e-05, allocations: 3.922 kB / 449.1 MB, free: 5.277 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001095/0.00111, allocations: 0.5947 MB / 449.7 MB, free: 4.723 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 1.673e-05/0.001127, allocations: 12.52 kB / 449.8 MB, free: 4.711 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.645e-05/0.001143, allocations: 1.062 kB / 449.8 MB, free: 4.711 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.668e-05/0.00116, allocations: 0 / 449.8 MB, free: 4.711 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 1.298e-05/0.001173, allocations: 3.938 kB / 449.8 MB, free: 4.707 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.273e-05/0.001186, allocations: 1.562 kB / 449.8 MB, free: 4.707 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 4.527e-05/0.001231, allocations: 4.547 kB / 449.8 MB, free: 4.703 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.723e-05/0.001268, allocations: 1.281 kB / 449.8 MB, free: 4.703 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.394e-05/0.001312, allocations: 4.875 kB / 449.8 MB, free: 4.699 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.303e-05/0.001335, allocations: 1.656 kB / 449.8 MB, free: 4.699 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.001353, allocations: 0 / 449.8 MB, free: 4.699 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.35e-06/0.001358, allocations: 0.6562 kB / 449.8 MB, free: 4.699 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.001371, allocations: 0.5469 kB / 449.8 MB, free: 4.699 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.223e-05/0.001383, allocations: 2.406 kB / 449.8 MB, free: 4.699 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 5.473e-05/0.001438, allocations: 6.078 kB / 449.8 MB, free: 4.695 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.092e-05/0.001449, allocations: 4 kB / 449.8 MB, free: 4.691 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.00145, allocations: 0 / 449.8 MB, free: 4.691 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.001461, allocations: 0 / 449.8 MB, free: 4.691 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002429/0.001704, allocations: 208.8 kB / 450 MB, free: 4.461 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.001738, allocations: 12.03 kB / 450 MB, free: 4.449 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.149e-05/0.00176, allocations: 2.906 kB / 450 MB, free: 4.449 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.975e-05/0.00184, allocations: 101.8 kB / 450.1 MB, free: 4.324 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.001848, allocations: 384 / 450.1 MB, free: 4.324 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.001856, allocations: 4.375 kB / 450.1 MB, free: 4.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.294e-05/0.001919, allocations: 32.22 kB / 450.1 MB, free: 4.285 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.729e-06/0.001924, allocations: 0.7344 kB / 450.1 MB, free: 4.285 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-06/0.00193, allocations: 4.312 kB / 450.1 MB, free: 4.281 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.001934, allocations: 384 / 450.1 MB, free: 4.281 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.614e-06/0.001942, allocations: 7.938 kB / 450.2 MB, free: 4.273 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001665/0.002108, allocations: 288.1 kB / 450.4 MB, free: 3.977 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.225e-05/0.002171, allocations: 173.8 kB / 450.6 MB, free: 3.797 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.223e-05/0.002193, allocations: 85.17 kB / 450.7 MB, free: 3.711 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.002212, allocations: 79.31 kB / 450.8 MB, free: 3.633 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.002246, allocations: 105.8 kB / 450.9 MB, free: 3.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.002248, allocations: 0.625 kB / 450.9 MB, free: 3.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 4.95e-05/0.002297, allocations: 34.59 kB / 450.9 MB, free: 3.484 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.00234, allocations: 135.5 kB / 451 MB, free: 3.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.49e-05/0.002395, allocations: 94.72 kB / 451.1 MB, free: 3.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.036e-06/0.002403, allocations: 25.7 kB / 451.2 MB, free: 3.199 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.174e-05/0.002434, allocations: 82.2 kB / 451.2 MB, free: 3.117 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.493e-06/0.002436, allocations: 3.484 kB / 451.2 MB, free: 3.117 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.801e-05/0.002454, allocations: 13.72 kB / 451.2 MB, free: 3.098 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.221e-05/0.002526, allocations: 314.8 kB / 451.6 MB, free: 2.781 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.206e-06/0.002529, allocations: 4.844 kB / 451.6 MB, free: 2.777 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.166e-06/0.002533, allocations: 0.9844 kB / 451.6 MB, free: 2.777 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.758e-05/0.00255, allocations: 81.16 kB / 451.6 MB, free: 2.699 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.8e-05/0.002568, allocations: 75.28 kB / 451.7 MB, free: 2.625 MB / 426.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.799e-05/0.002596, allocations: 33.69 kB / 451.7 MB, free: 2.586 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.847e-05/0.002635, allocations: 83.28 kB / 451.8 MB, free: 2.504 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.157e-05/0.002656, allocations: 79.22 kB / 451.9 MB, free: 2.426 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.062e-05/0.002697, allocations: 151.5 kB / 452.1 MB, free: 2.277 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.915e-05/0.002716, allocations: 83.22 kB / 452.1 MB, free: 2.195 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-05/0.002751, allocations: 154.5 kB / 452.3 MB, free: 2.043 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.102e-05/0.002792, allocations: 77.38 kB / 452.4 MB, free: 1.969 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.002811, allocations: 79.22 kB / 452.4 MB, free: 1.891 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.794e-05/0.002889, allocations: 265.7 kB / 452.7 MB, free: 1.621 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.002922, allocations: 101 kB / 452.8 MB, free: 1.516 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.653e-05/0.002958, allocations: 112 kB / 452.9 MB, free: 1.398 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.111e-05/0.002999, allocations: 180.9 kB / 453.1 MB, free: 1.215 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-05/0.003041, allocations: 180.2 kB / 453.3 MB, free: 1.031 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.071e-05/0.003082, allocations: 189.4 kB / 453.4 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.003201, allocations: 313.5 kB / 453.8 MB, free: 0.5078 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-05/0.003228, allocations: 105 kB / 453.9 MB, free: 408 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.259e-05/0.00325, allocations: 106.5 kB / 454 MB, free: 296 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.598e-05/0.003276, allocations: 105 kB / 454.1 MB, free: 184 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.374e-05/0.00333, allocations: 192.2 kB / 454.2 MB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.141e-05/0.003371, allocations: 181.4 kB / 454.4 MB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-05/0.003409, allocations: 176.6 kB / 454.6 MB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.05e-05/0.003449, allocations: 188.8 kB / 454.8 MB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.109e-05/0.00354, allocations: 309.2 kB / 455.1 MB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.231e-05/0.003593, allocations: 180.3 kB / 455.3 MB, free: 14.92 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.494e-05/0.003638, allocations: 106.5 kB / 455.4 MB, free: 14.81 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.003682, allocations: 180.2 kB / 455.5 MB, free: 14.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.00371, allocations: 105 kB / 455.6 MB, free: 14.52 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.318e-05/0.003723, allocations: 14.95 kB / 455.7 MB, free: 14.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.003724, allocations: 0 / 455.7 MB, free: 14.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001233/0.003847, allocations: 0 / 455.7 MB, free: 14.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 8.109e-05/0.003928, allocations: 152.4 kB / 455.8 MB, free: 14.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 3.099e-05/0.003959, allocations: 5.156 kB / 455.8 MB, free: 14.34 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.003962, allocations: 0 / 455.8 MB, free: 14.34 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.905e-06/0.003965, allocations: 1.766 kB / 455.8 MB, free: 14.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.004158, allocations: 463.6 kB / 456.3 MB, free: 13.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001483/0.004307, allocations: 166.5 kB / 456.4 MB, free: 13.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.758e-05/0.004334, allocations: 52.11 kB / 456.5 MB, free: 13.62 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.825e-06/0.004337, allocations: 1.094 kB / 456.5 MB, free: 13.62 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.301e-05/0.00436, allocations: 51.88 kB / 456.5 MB, free: 13.57 MB / 442.7 MB Notification: Performance of SimCode: time 5.01e-07/0.004361, allocations: 0.6875 kB / 456.5 MB, free: 13.57 MB / 442.7 MB Notification: Performance of Templates: time 0.001191/0.005551, allocations: 183.6 kB / 456.7 MB, free: 13.4 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5289524383842945]