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.0008754/0.0008754, allocations: 80.75 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.0009777/0.0009777, 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 0.9996/0.9996, 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.7904/0.7904, allocations: 154.6 MB / 414.8 MB, free: 0.5195 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.154e-06/2.154e-06, allocations: 0 / 480 MB, free: 6.875 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.233e-05, allocations: 3.719 kB / 480 MB, free: 6.871 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001219/0.001241, allocations: 0.5586 MB / 480.6 MB, free: 6.344 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 4.236e-05/0.001283, allocations: 0 / 480.6 MB, free: 6.344 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.333e-05/0.001307, allocations: 0 / 480.6 MB, free: 6.344 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.273e-05/0.00133, allocations: 0.7656 kB / 480.6 MB, free: 6.344 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 2.574e-05/0.001355, allocations: 0 / 480.6 MB, free: 6.344 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.936e-05/0.001385, allocations: 0 / 480.6 MB, free: 6.344 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.59e-05/0.001431, allocations: 4.984 kB / 480.6 MB, free: 6.34 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.789e-05/0.001468, allocations: 7.984 kB / 480.6 MB, free: 6.332 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.652e-05/0.001495, allocations: 4.906 kB / 480.6 MB, free: 6.328 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.398e-05/0.001519, allocations: 5.312 kB / 480.6 MB, free: 6.324 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.001533, allocations: 1.781 kB / 480.6 MB, free: 6.324 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.789e-06/0.001538, allocations: 3.938 kB / 480.6 MB, free: 6.32 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.145e-05/0.00155, allocations: 0 / 480.6 MB, free: 6.32 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.046e-05/0.00156, allocations: 0 / 480.6 MB, free: 6.32 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 4.667e-05/0.001607, allocations: 4.75 kB / 480.6 MB, free: 6.316 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.001609, allocations: 0.875 kB / 480.6 MB, free: 6.316 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.001609, allocations: 0 / 480.6 MB, free: 6.316 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.805e-06/0.001612, allocations: 0 / 480.6 MB, free: 6.316 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.0001993/0.001812, allocations: 213.2 kB / 480.8 MB, free: 6.086 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.001848, allocations: 8.031 kB / 480.8 MB, free: 6.078 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.013e-05/0.001868, allocations: 0.9375 kB / 480.8 MB, free: 6.078 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.983e-05/0.001948, allocations: 111 kB / 480.9 MB, free: 5.945 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-06/0.001957, allocations: 1.75 kB / 480.9 MB, free: 5.945 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.213e-06/0.001964, allocations: 384 / 480.9 MB, free: 5.945 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.764e-05/0.002011, allocations: 26.27 kB / 480.9 MB, free: 5.914 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.199e-06/0.002017, allocations: 4.188 kB / 481 MB, free: 5.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.519e-06/0.002021, allocations: 2.781 kB / 481 MB, free: 5.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.002027, allocations: 1.312 kB / 481 MB, free: 5.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.165e-06/0.002035, allocations: 11.88 kB / 481 MB, free: 5.898 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001496/0.002184, allocations: 287.5 kB / 481.2 MB, free: 5.602 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.647e-05/0.002241, allocations: 169.2 kB / 481.4 MB, free: 5.426 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.038e-05/0.002261, allocations: 85.34 kB / 481.5 MB, free: 5.34 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.002278, allocations: 75.28 kB / 481.6 MB, free: 5.266 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.002314, allocations: 109.8 kB / 481.7 MB, free: 5.148 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.002315, allocations: 4.812 kB / 481.7 MB, free: 5.145 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 3.856e-05/0.002354, allocations: 25.7 kB / 481.7 MB, free: 5.113 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.002397, allocations: 132.3 kB / 481.8 MB, free: 4.973 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.078e-05/0.002448, allocations: 98.72 kB / 481.9 MB, free: 4.863 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.685e-06/0.002456, allocations: 30.3 kB / 482 MB, free: 4.828 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.544e-05/0.002481, allocations: 81.98 kB / 482 MB, free: 4.746 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.01e-07/0.002482, allocations: 0 / 482 MB, free: 4.746 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.536e-05/0.002497, allocations: 14.25 kB / 482.1 MB, free: 4.727 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.808e-05/0.002565, allocations: 318.8 kB / 482.4 MB, free: 4.406 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.705e-06/0.002568, allocations: 0 / 482.4 MB, free: 4.406 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.356e-06/0.002571, allocations: 0 / 482.4 MB, free: 4.406 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.748e-05/0.002589, allocations: 76.59 kB / 482.4 MB, free: 4.332 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.606e-05/0.002605, allocations: 79.88 kB / 482.5 MB, free: 4.254 MB / 442.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.161e-05/0.002637, allocations: 30.73 kB / 482.6 MB, free: 4.219 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.002659, allocations: 80.62 kB / 482.6 MB, free: 4.141 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.002679, allocations: 75.28 kB / 482.7 MB, free: 4.066 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.386e-05/0.002723, allocations: 158.5 kB / 482.9 MB, free: 3.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.002e-05/0.002743, allocations: 79.34 kB / 482.9 MB, free: 3.832 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.279e-05/0.002776, allocations: 163.9 kB / 483.1 MB, free: 3.672 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.804e-05/0.002814, allocations: 80.19 kB / 483.2 MB, free: 3.594 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.002829, allocations: 79.28 kB / 483.3 MB, free: 3.516 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.000328/0.003157, allocations: 261 kB / 483.5 MB, free: 3.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.003193, allocations: 114 kB / 483.6 MB, free: 3.133 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.003223, allocations: 104 kB / 483.7 MB, free: 3.027 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.881e-05/0.003262, allocations: 184.2 kB / 483.9 MB, free: 2.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-05/0.0033, allocations: 185.8 kB / 484.1 MB, free: 2.652 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.373e-05/0.003333, allocations: 176.3 kB / 484.3 MB, free: 2.473 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.003446, allocations: 322.6 kB / 484.6 MB, free: 2.133 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-05/0.003468, allocations: 101 kB / 484.7 MB, free: 2.027 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.371e-05/0.003492, allocations: 114.6 kB / 484.8 MB, free: 1.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.451e-05/0.003527, allocations: 180.9 kB / 485 MB, free: 1.727 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-05/0.003561, allocations: 176.3 kB / 485.1 MB, free: 1.547 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.51e-05/0.003596, allocations: 180.8 kB / 485.3 MB, free: 1.363 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.468e-05/0.003631, allocations: 180.3 kB / 485.5 MB, free: 1.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.271e-05/0.003724, allocations: 312.9 kB / 485.8 MB, free: 0.8516 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.829e-05/0.003752, allocations: 109.5 kB / 485.9 MB, free: 0.7383 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.843e-05/0.00379, allocations: 176.3 kB / 486.1 MB, free: 0.5586 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.171e-05/0.003832, allocations: 105.8 kB / 486.2 MB, free: 460 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.003871, allocations: 188.2 kB / 486.4 MB, free: 264 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.003893, allocations: 104 kB / 486.5 MB, free: 156 kB / 442.7 MB Notification: Performance of sorting global known variables: time 1.33e-05/0.003906, allocations: 8.797 kB / 486.5 MB, free: 144 kB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003906, allocations: 0 / 486.5 MB, free: 144 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001297/0.004036, allocations: 0 / 486.5 MB, free: 144 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.0001014/0.004137, allocations: 153.5 kB / 486.6 MB, free: 15.98 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 3.008e-05/0.004167, allocations: 7.953 kB / 486.6 MB, free: 15.97 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.00417, allocations: 0 / 486.6 MB, free: 15.97 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.904e-06/0.004172, allocations: 4.531 kB / 486.6 MB, free: 15.97 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.004343, allocations: 461.7 kB / 487.1 MB, free: 15.52 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001443/0.004487, allocations: 153.2 kB / 487.2 MB, free: 15.34 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.438e-05/0.004512, allocations: 51.36 kB / 487.3 MB, free: 15.27 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.553e-06/0.004513, allocations: 1.281 kB / 487.3 MB, free: 15.27 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.948e-05/0.004533, allocations: 47.38 kB / 487.3 MB, free: 15.22 MB / 458.7 MB Notification: Performance of SimCode: time 3.41e-07/0.004533, allocations: 0 / 487.3 MB, free: 15.22 MB / 458.7 MB Notification: Performance of Templates: time 0.001251/0.005784, allocations: 177.3 kB / 487.5 MB, free: 15.06 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 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5752820470370352]