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.000894/0.000894, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009904/0.0009904, allocations: 181 kB / 23.36 MB, free: 1.133 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.018/1.018, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.8028/0.8028, allocations: 154.6 MB / 414.8 MB, free: 0.5078 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.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.194e-06/2.194e-06, allocations: 0 / 480 MB, free: 6.844 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.414e-05, allocations: 2.969 kB / 480 MB, free: 6.84 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001449/0.001474, allocations: 0.5958 MB / 480.6 MB, free: 6.277 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 4.704e-05/0.001521, allocations: 7.938 kB / 480.7 MB, free: 6.27 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.602e-05/0.001547, allocations: 0 / 480.7 MB, free: 6.27 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.352e-05/0.00157, allocations: 4.969 kB / 480.7 MB, free: 6.266 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.11e-05/0.001601, allocations: 0 / 480.7 MB, free: 6.266 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.066e-05/0.001632, allocations: 0 / 480.7 MB, free: 6.266 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.004e-05/0.001682, allocations: 1.969 kB / 480.7 MB, free: 6.266 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.561e-05/0.001728, allocations: 9.984 kB / 480.7 MB, free: 6.258 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.795e-05/0.001755, allocations: 4 kB / 480.7 MB, free: 6.254 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.601e-05/0.001781, allocations: 1.438 kB / 480.7 MB, free: 6.254 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.001794, allocations: 0 / 480.7 MB, free: 6.254 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.536e-06/0.001798, allocations: 0.7656 kB / 480.7 MB, free: 6.254 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.001811, allocations: 0 / 480.7 MB, free: 6.254 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.319e-05/0.001824, allocations: 0.7812 kB / 480.7 MB, free: 6.254 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 5.569e-05/0.00188, allocations: 4.531 kB / 480.7 MB, free: 6.25 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.001882, allocations: 5.438 kB / 480.7 MB, free: 6.246 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.001883, allocations: 1.094 kB / 480.7 MB, free: 6.246 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.001887, allocations: 0 / 480.7 MB, free: 6.246 MB / 442.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.0002837/0.00217, allocations: 215.9 kB / 480.9 MB, free: 6.012 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.002208, allocations: 8.875 kB / 480.9 MB, free: 6.004 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.897e-05/0.002227, allocations: 0.9375 kB / 480.9 MB, free: 6.004 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.468e-05/0.002302, allocations: 110.6 kB / 481 MB, free: 5.871 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.043e-06/0.002309, allocations: 384 / 481 MB, free: 5.871 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.737e-06/0.002312, allocations: 1 kB / 481 MB, free: 5.871 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.593e-05/0.002368, allocations: 30.89 kB / 481 MB, free: 5.836 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.002375, allocations: 192 / 481 MB, free: 5.836 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-06/0.002379, allocations: 4.141 kB / 481.1 MB, free: 5.836 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.002385, allocations: 384 / 481.1 MB, free: 5.836 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.652e-06/0.002392, allocations: 3.938 kB / 481.1 MB, free: 5.832 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.002542, allocations: 290.8 kB / 481.3 MB, free: 5.531 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.46e-05/0.002597, allocations: 173.2 kB / 481.5 MB, free: 5.352 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.01e-05/0.002617, allocations: 82.05 kB / 481.6 MB, free: 5.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.002635, allocations: 79.27 kB / 481.7 MB, free: 5.191 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.002668, allocations: 109.8 kB / 481.8 MB, free: 5.074 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.002669, allocations: 0.6562 kB / 481.8 MB, free: 5.074 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 5.069e-05/0.00272, allocations: 29.64 kB / 481.8 MB, free: 5.039 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.002757, allocations: 132.5 kB / 481.9 MB, free: 4.898 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.534e-05/0.002823, allocations: 98.72 kB / 482 MB, free: 4.789 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.214e-06/0.00283, allocations: 30.53 kB / 482.1 MB, free: 4.754 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.447e-05/0.002854, allocations: 80.14 kB / 482.1 MB, free: 4.672 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.81e-07/0.002855, allocations: 0.625 kB / 482.1 MB, free: 4.672 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.618e-05/0.002871, allocations: 13.72 kB / 482.2 MB, free: 4.652 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.002972, allocations: 312 kB / 482.5 MB, free: 4.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.944e-06/0.002974, allocations: 0 / 482.5 MB, free: 4.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.076e-06/0.002977, allocations: 0.625 kB / 482.5 MB, free: 4.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.545e-05/0.002993, allocations: 75.91 kB / 482.5 MB, free: 4.266 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.561e-05/0.003008, allocations: 75.28 kB / 482.6 MB, free: 4.191 MB / 442.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.444e-05/0.003043, allocations: 35.03 kB / 482.6 MB, free: 4.152 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.003067, allocations: 83.28 kB / 482.7 MB, free: 4.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.003084, allocations: 83.91 kB / 482.8 MB, free: 3.988 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.74e-05/0.003122, allocations: 155.5 kB / 483 MB, free: 3.836 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.852e-05/0.00314, allocations: 83.28 kB / 483 MB, free: 3.754 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.214e-05/0.003173, allocations: 158.6 kB / 483.2 MB, free: 3.598 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.966e-05/0.003212, allocations: 80.78 kB / 483.3 MB, free: 3.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.003229, allocations: 76.27 kB / 483.3 MB, free: 3.445 MB / 442.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 0.0001367/0.003366, allocations: 268.4 kB / 483.6 MB, free: 3.172 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.003398, allocations: 101.9 kB / 483.7 MB, free: 3.066 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.354e-05/0.003431, allocations: 115.9 kB / 483.8 MB, free: 2.949 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.752e-05/0.003469, allocations: 180.3 kB / 484 MB, free: 2.766 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.625e-05/0.003505, allocations: 185.1 kB / 484.2 MB, free: 2.578 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.689e-05/0.003542, allocations: 177.2 kB / 484.3 MB, free: 2.398 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.003655, allocations: 322.6 kB / 484.7 MB, free: 2.059 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.303e-05/0.003678, allocations: 101 kB / 484.8 MB, free: 1.953 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.292e-05/0.003701, allocations: 106.8 kB / 484.9 MB, free: 1.844 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.61e-05/0.003737, allocations: 180.2 kB / 485 MB, free: 1.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.8e-05/0.003775, allocations: 180.3 kB / 485.2 MB, free: 1.477 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001855/0.003961, allocations: 184.9 kB / 485.4 MB, free: 1.289 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.581e-05/0.003996, allocations: 180.2 kB / 485.6 MB, free: 1.105 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.059e-05/0.004077, allocations: 306.3 kB / 485.9 MB, free: 0.7852 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.926e-05/0.004106, allocations: 105 kB / 486 MB, free: 0.6758 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.745e-05/0.004154, allocations: 188.2 kB / 486.2 MB, free: 496 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.653e-05/0.0042, allocations: 105 kB / 486.3 MB, free: 384 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.543e-05/0.004246, allocations: 184.3 kB / 486.4 MB, free: 192 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.00427, allocations: 106.8 kB / 486.5 MB, free: 80 kB / 442.7 MB Notification: Performance of sorting global known variables: time 1.411e-05/0.004284, allocations: 8.797 kB / 486.6 MB, free: 68 kB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004284, allocations: 4 kB / 486.6 MB, free: 64 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001279/0.004412, allocations: 1.516 kB / 486.6 MB, free: 64 kB / 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 0.0001186/0.004531, allocations: 153.7 kB / 486.7 MB, free: 15.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 2.957e-05/0.00456, allocations: 8.016 kB / 486.7 MB, free: 15.89 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.004562, allocations: 0 / 486.7 MB, free: 15.89 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.71e-07/0.004563, allocations: 0 / 486.7 MB, free: 15.89 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.004752, allocations: 459.6 kB / 487.2 MB, free: 15.44 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001651/0.004917, allocations: 154.1 kB / 487.3 MB, free: 15.27 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.012e-05/0.004947, allocations: 52.02 kB / 487.4 MB, free: 15.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.844e-06/0.004949, allocations: 1.5 kB / 487.4 MB, free: 15.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.398e-05/0.004973, allocations: 55.36 kB / 487.4 MB, free: 15.14 MB / 458.7 MB Notification: Performance of SimCode: time 6.41e-07/0.004974, allocations: 0 / 487.4 MB, free: 15.14 MB / 458.7 MB Notification: Performance of Templates: time 0.001282/0.006256, allocations: 172.3 kB / 487.6 MB, free: 14.98 MB / 458.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.524515707977116]