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.001502/0.001502, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002037/0.002037, allocations: 210 kB / 22.24 MB, free: 5.262 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.539/1.539, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.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.355/1.355, allocations: 203.5 MB / 0.5039 GB, free: 4.848 MB / 414.1 MB " [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.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 70.52 kB / 0.7183 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6111/0.6132, allocations: 102 MB / 0.8179 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001877/0.6151, allocations: 0.5421 MB / 0.8184 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 3.967e-05/0.6152, allocations: 0 / 0.8184 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.099e-05/0.6152, allocations: 0 / 0.8184 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.125e-05/0.6152, allocations: 3.938 kB / 0.8184 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 2.537e-05/0.6152, allocations: 0 / 0.8184 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 3.665e-05/0.6153, allocations: 8 kB / 0.8184 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 6.969e-05/0.6154, allocations: 4 kB / 0.8184 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 6.705e-05/0.6154, allocations: 3.938 kB / 0.8184 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 1.675e-05/0.6154, allocations: 0 / 0.8184 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 2.238e-05/0.6155, allocations: 3.984 kB / 0.8184 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.6155, allocations: 0 / 0.8184 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 4.218e-06/0.6155, allocations: 4 kB / 0.8184 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.6155, allocations: 0 / 0.8184 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.529e-05/0.6155, allocations: 3.938 kB / 0.8184 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 6.28e-05/0.6156, allocations: 0 / 0.8184 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.6156, allocations: 3.984 kB / 0.8184 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6156, allocations: 4 kB / 0.8184 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.6156, allocations: 0 / 0.8184 GB, free: 1.723 MB / 0.5919 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.0003344/0.6159, allocations: 242.2 kB / 0.8187 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.616, allocations: 12.03 kB / 0.8187 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.97e-05/0.616, allocations: 0.9375 kB / 0.8187 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.6161, allocations: 102.5 kB / 0.8188 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.6161, allocations: 384 / 0.8188 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.6161, allocations: 4.375 kB / 0.8188 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.576e-05/0.6162, allocations: 38.19 kB / 0.8188 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.6163, allocations: 192 / 0.8188 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.6163, allocations: 7.938 kB / 0.8188 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.6163, allocations: 0 / 0.8188 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.593e-05/0.6163, allocations: 4 kB / 0.8188 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003472/0.6166, allocations: 323.2 kB / 0.8191 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.6167, allocations: 177.1 kB / 0.8193 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.853e-05/0.6168, allocations: 80.14 kB / 0.8194 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.266e-05/0.6168, allocations: 87.2 kB / 0.8195 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.414e-05/0.6169, allocations: 105.8 kB / 0.8196 GB, free: 460 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.6169, allocations: 0 / 0.8196 GB, free: 460 kB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 8.02e-05/0.617, allocations: 25.7 kB / 0.8196 GB, free: 428 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.824e-05/0.617, allocations: 130.6 kB / 0.8197 GB, free: 284 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.242e-05/0.6171, allocations: 101.9 kB / 0.8198 GB, free: 172 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.6171, allocations: 25.7 kB / 0.8198 GB, free: 140 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.492e-05/0.6172, allocations: 80.14 kB / 0.8199 GB, free: 56 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.6172, allocations: 0 / 0.8199 GB, free: 56 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/0.6172, allocations: 17.66 kB / 0.8199 GB, free: 32 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.6174, allocations: 314.8 kB / 0.8202 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.689e-06/0.6174, allocations: 0 / 0.8202 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.936e-06/0.6174, allocations: 0 / 0.8202 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.342e-05/0.6174, allocations: 75.28 kB / 0.8203 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.062e-05/0.6174, allocations: 75.28 kB / 0.8204 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.212e-05/0.6175, allocations: 41.8 kB / 0.8204 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.892e-05/0.6176, allocations: 79.28 kB / 0.8205 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.367e-05/0.6176, allocations: 87.16 kB / 0.8206 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.667e-05/0.6177, allocations: 154.6 kB / 0.8207 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.329e-05/0.6178, allocations: 83.22 kB / 0.8208 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.537e-05/0.6178, allocations: 154.6 kB / 0.8209 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.87e-05/0.6179, allocations: 79.27 kB / 0.821 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.834e-05/0.6179, allocations: 79.22 kB / 0.8211 GB, free: 14.81 MB / 0.6075 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.0001466/0.6181, allocations: 261.4 kB / 0.8213 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.4e-05/0.6182, allocations: 108.9 kB / 0.8215 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.153e-05/0.6182, allocations: 115.7 kB / 0.8216 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.635e-05/0.6183, allocations: 184.2 kB / 0.8217 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.283e-05/0.6184, allocations: 177.6 kB / 0.8219 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-05/0.6185, allocations: 180.2 kB / 0.8221 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.6187, allocations: 352.9 kB / 0.8224 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.414e-05/0.6188, allocations: 108.9 kB / 0.8225 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.432e-05/0.6188, allocations: 105 kB / 0.8226 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-05/0.6189, allocations: 180.2 kB / 0.8228 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.041e-05/0.619, allocations: 184.2 kB / 0.823 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.683e-05/0.6191, allocations: 180.3 kB / 0.8231 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.131e-05/0.6192, allocations: 184.2 kB / 0.8233 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.6193, allocations: 304.2 kB / 0.8236 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-05/0.6194, allocations: 112.9 kB / 0.8237 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.833e-05/0.6195, allocations: 180.3 kB / 0.8239 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.897e-05/0.6195, allocations: 112.9 kB / 0.824 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.423e-05/0.6196, allocations: 180.3 kB / 0.8242 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.807e-05/0.6197, allocations: 101 kB / 0.8243 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.292e-05/0.6197, allocations: 79.22 kB / 0.8243 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.6197, allocations: 0 / 0.8243 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002584/0.62, allocations: 4 kB / 0.8243 GB, free: 11.3 MB / 0.6075 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.0001456/0.6201, allocations: 174.6 kB / 0.8245 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.039e-05/0.6202, allocations: 0 / 0.8245 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6202, allocations: 0 / 0.8245 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.387e-06/0.6202, allocations: 4 kB / 0.8245 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.6206, allocations: 459.7 kB / 0.8249 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002699/0.6209, allocations: 160.1 kB / 0.8251 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.37e-05/0.621, allocations: 55.3 kB / 0.8252 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.805e-06/0.621, allocations: 0 / 0.8252 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.898e-05/0.621, allocations: 11.44 kB / 0.8252 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of SimCode: time 6.11e-07/0.621, allocations: 4 kB / 0.8252 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of Templates: time 0.002172/0.6232, allocations: 137 kB / 0.8253 GB, free: 10.26 MB / 0.6075 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.894598867744207] Failed to read output from testmodel.py, exit status != 0: 0.632229819893837 0.653767023 0.034647978 Calling exit ...