Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.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.001502/0.001502, allocations: 80.77 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001456/0.001456, allocations: 162 kB / 22.45 MB, free: 5.375 MB / 14.72 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.446/1.446, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 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-531:686: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-531:694: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.212/1.212, allocations: 154.6 MB / 413.8 MB, free: 5.207 MB / 382.1 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.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.346e-06/3.346e-06, allocations: 0 / 0.6186 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.631e-05/4.965e-05, allocations: 4.688 kB / 0.6186 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001785/0.001835, allocations: 0.5725 MB / 0.6192 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 4.006e-05/0.001875, allocations: 0 / 0.6192 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.75e-05/0.001913, allocations: 0 / 0.6192 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.218e-05/0.001945, allocations: 3.938 kB / 0.6192 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.638e-05/0.001971, allocations: 4 kB / 0.6192 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.433e-05/0.002006, allocations: 4 kB / 0.6192 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.433e-05/0.00207, allocations: 0 / 0.6192 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.855e-05/0.002138, allocations: 0 / 0.6192 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.382e-05/0.002172, allocations: 8 kB / 0.6192 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.223e-05/0.002194, allocations: 3.938 kB / 0.6192 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.00222, allocations: 3.938 kB / 0.6192 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.649e-06/0.002225, allocations: 0 / 0.6192 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.00224, allocations: 0 / 0.6192 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.216e-05/0.002262, allocations: 0 / 0.6192 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 7.246e-05/0.002335, allocations: 11.95 kB / 0.6192 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.00234, allocations: 4 kB / 0.6192 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.71e-07/0.00234, allocations: 0 / 0.6192 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.002351, allocations: 0 / 0.6192 GB, free: 3.906 MB / 0.5294 GB 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.0004021/0.002753, allocations: 246.4 kB / 0.6195 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.002802, allocations: 12.03 kB / 0.6195 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.002832, allocations: 0.9375 kB / 0.6195 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.002977, allocations: 109.8 kB / 0.6196 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.002991, allocations: 384 / 0.6196 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.003002, allocations: 384 / 0.6196 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.003106, allocations: 30.2 kB / 0.6196 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.003117, allocations: 192 / 0.6196 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.003127, allocations: 4.375 kB / 0.6196 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.003132, allocations: 384 / 0.6196 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.296e-05/0.003155, allocations: 11.94 kB / 0.6196 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/0.003547, allocations: 331.2 kB / 0.6199 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.003678, allocations: 173.1 kB / 0.6201 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.118e-05/0.003739, allocations: 84.17 kB / 0.6202 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.204e-05/0.003781, allocations: 75.28 kB / 0.6203 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.504e-05/0.003846, allocations: 105.8 kB / 0.6204 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.003847, allocations: 0 / 0.6204 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 9.791e-05/0.003945, allocations: 33.64 kB / 0.6204 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.941e-05/0.004034, allocations: 130.6 kB / 0.6205 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.004141, allocations: 93.8 kB / 0.6206 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.00416, allocations: 25.7 kB / 0.6206 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.332e-05/0.004203, allocations: 84.27 kB / 0.6207 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.004205, allocations: 4 kB / 0.6207 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.004234, allocations: 17.7 kB / 0.6207 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.004403, allocations: 310.8 kB / 0.621 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.619e-06/0.004408, allocations: 0 / 0.621 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.895e-06/0.004411, allocations: 0 / 0.621 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.851e-05/0.004449, allocations: 79.28 kB / 0.6211 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-05/0.004485, allocations: 75.28 kB / 0.6212 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.614e-05/0.004541, allocations: 25.7 kB / 0.6212 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.145e-05/0.004602, allocations: 83.28 kB / 0.6213 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.335e-05/0.004645, allocations: 83.16 kB / 0.6214 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.652e-05/0.004742, allocations: 154.6 kB / 0.6215 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.883e-05/0.004781, allocations: 83.27 kB / 0.6216 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.926e-05/0.00486, allocations: 162.4 kB / 0.6217 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.247e-05/0.004943, allocations: 75.28 kB / 0.6218 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.237e-05/0.004985, allocations: 79.22 kB / 0.6219 GB, free: 0.9961 MB / 0.5294 GB 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.0001537/0.005139, allocations: 261.4 kB / 0.6221 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.731e-05/0.005226, allocations: 105.2 kB / 0.6222 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.486e-05/0.005291, allocations: 119.8 kB / 0.6223 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.683e-05/0.005388, allocations: 184.3 kB / 0.6225 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001038/0.005491, allocations: 176.3 kB / 0.6227 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001098/0.005601, allocations: 188.2 kB / 0.6229 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.005861, allocations: 348.9 kB / 0.6232 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.57e-05/0.005927, allocations: 108.9 kB / 0.6233 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.195e-05/0.005979, allocations: 105 kB / 0.6234 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.557e-05/0.006074, allocations: 176.3 kB / 0.6236 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.833e-05/0.006173, allocations: 188.2 kB / 0.6238 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.718e-05/0.00626, allocations: 180.2 kB / 0.6239 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.55e-05/0.006355, allocations: 184.2 kB / 0.6241 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.006544, allocations: 299.8 kB / 0.6244 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.802e-05/0.006612, allocations: 108.9 kB / 0.6245 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.006713, allocations: 184.2 kB / 0.6247 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.739e-05/0.006811, allocations: 116.9 kB / 0.6248 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.948e-05/0.00691, allocations: 180.2 kB / 0.6249 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.843e-05/0.006958, allocations: 105 kB / 0.625 GB, free: 13.57 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.476e-05/0.007013, allocations: 83.28 kB / 0.6251 GB, free: 13.48 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.007013, allocations: 3.938 kB / 0.6251 GB, free: 13.48 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002625/0.007276, allocations: 0 / 0.6251 GB, free: 13.48 MB / 0.545 GB 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.0001795/0.007455, allocations: 170.5 kB / 0.6253 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.051e-05/0.007506, allocations: 0 / 0.6253 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.007508, allocations: 8.094 kB / 0.6253 GB, free: 13.29 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.007509, allocations: 0 / 0.6253 GB, free: 13.29 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004811/0.00799, allocations: 451.7 kB / 0.6257 GB, free: 12.85 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002857/0.008276, allocations: 164.1 kB / 0.6259 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.965e-05/0.008335, allocations: 55.36 kB / 0.6259 GB, free: 12.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.973e-06/0.008337, allocations: 0 / 0.6259 GB, free: 12.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.451e-05/0.008352, allocations: 12.44 kB / 0.626 GB, free: 12.57 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.008352, allocations: 0 / 0.626 GB, free: 12.57 MB / 0.545 GB Notification: Performance of Templates: time 0.002296/0.01065, allocations: 151.8 kB / 0.6261 GB, free: 12.43 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.588218566030264] Failed to read output from testmodel.py, exit status != 0: 0.019555624574422836 0.034486845 0.029013248000000002 Calling exit ...