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.001262/0.001262, allocations: 80.67 kB / 19.18 MB, free: 2.516 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.001359/0.001359, allocations: 168.4 kB / 22.46 MB, free: 5.367 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.454/1.454, 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.198/1.198, allocations: 154.7 MB / 413.9 MB, free: 5.16 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.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 / 0.6188 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.402e-05/3.618e-05, allocations: 2.281 kB / 0.6188 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001692/0.001728, allocations: 0.5496 MB / 0.6193 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 4.495e-05/0.001773, allocations: 3.938 kB / 0.6193 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.871e-05/0.001802, allocations: 0 / 0.6193 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.37e-05/0.001825, allocations: 0 / 0.6193 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.756e-05/0.001853, allocations: 3.938 kB / 0.6193 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.161e-05/0.001885, allocations: 3.984 kB / 0.6193 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.499e-05/0.00195, allocations: 12 kB / 0.6193 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.239e-05/0.002012, allocations: 0 / 0.6193 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.14e-05/0.002043, allocations: 4 kB / 0.6193 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.302e-05/0.002066, allocations: 0 / 0.6193 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.002084, allocations: 0 / 0.6193 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.907e-06/0.002088, allocations: 0 / 0.6193 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.002102, allocations: 0 / 0.6193 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.938e-05/0.002121, allocations: 4 kB / 0.6193 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 5.873e-05/0.00218, allocations: 3.984 kB / 0.6193 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.002183, allocations: 0 / 0.6193 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.61e-07/0.002183, allocations: 0 / 0.6193 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.002193, allocations: 4 kB / 0.6193 GB, free: 3.949 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.0003142/0.002507, allocations: 242.3 kB / 0.6196 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.00255, allocations: 12.03 kB / 0.6196 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.848e-05/0.002578, allocations: 4.938 kB / 0.6196 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.002698, allocations: 105.8 kB / 0.6197 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.00271, allocations: 384 / 0.6197 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.002723, allocations: 4.375 kB / 0.6197 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.278e-05/0.002806, allocations: 30.27 kB / 0.6197 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.002815, allocations: 192 / 0.6197 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.002823, allocations: 384 / 0.6197 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.002827, allocations: 8.312 kB / 0.6197 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.716e-05/0.002854, allocations: 3.938 kB / 0.6197 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003176/0.003172, allocations: 335.1 kB / 0.62 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.306e-05/0.003265, allocations: 169.1 kB / 0.6202 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.796e-05/0.003313, allocations: 80.14 kB / 0.6203 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/0.003345, allocations: 75.28 kB / 0.6204 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.243e-05/0.003408, allocations: 109.8 kB / 0.6205 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.003409, allocations: 0 / 0.6205 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.995e-05/0.003489, allocations: 37.58 kB / 0.6205 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.588e-05/0.003555, allocations: 126.7 kB / 0.6206 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.988e-05/0.003644, allocations: 101.8 kB / 0.6207 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.003659, allocations: 25.7 kB / 0.6207 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/0.003701, allocations: 80.14 kB / 0.6208 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.333e-06/0.003702, allocations: 0 / 0.6208 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.457e-05/0.003727, allocations: 13.7 kB / 0.6208 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.003866, allocations: 314.8 kB / 0.6211 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.318e-06/0.00387, allocations: 0 / 0.6211 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.575e-06/0.003873, allocations: 0 / 0.6211 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.62e-05/0.003909, allocations: 75.28 kB / 0.6212 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-05/0.003944, allocations: 79.28 kB / 0.6213 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.385e-05/0.003998, allocations: 33.77 kB / 0.6213 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.802e-05/0.004046, allocations: 83.28 kB / 0.6214 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.469e-05/0.004081, allocations: 79.22 kB / 0.6215 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.928e-05/0.00416, allocations: 154.6 kB / 0.6216 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.045e-05/0.004191, allocations: 79.22 kB / 0.6217 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-05/0.00426, allocations: 154.5 kB / 0.6218 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.376e-05/0.004334, allocations: 83.22 kB / 0.6219 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.004365, allocations: 75.28 kB / 0.622 GB, free: 1.047 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.0001375/0.004503, allocations: 261.4 kB / 0.6222 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.217e-05/0.004575, allocations: 113.2 kB / 0.6223 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.505e-05/0.00463, allocations: 111.9 kB / 0.6224 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.896e-05/0.004709, allocations: 188.3 kB / 0.6226 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.632e-05/0.004785, allocations: 184.2 kB / 0.6228 GB, free: 176 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.455e-05/0.00488, allocations: 180.3 kB / 0.623 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.005095, allocations: 356.8 kB / 0.6233 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.534e-05/0.00514, allocations: 101 kB / 0.6234 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.46e-05/0.005184, allocations: 104.9 kB / 0.6235 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.908e-05/0.005264, allocations: 184.2 kB / 0.6237 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.414e-05/0.005348, allocations: 180.3 kB / 0.6239 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.358e-05/0.005431, allocations: 184.1 kB / 0.624 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.611e-05/0.005507, allocations: 184.2 kB / 0.6242 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.005686, allocations: 303.8 kB / 0.6245 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.054e-05/0.005737, allocations: 105 kB / 0.6246 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.992e-05/0.005827, allocations: 192.2 kB / 0.6248 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.164e-05/0.005909, allocations: 108.9 kB / 0.6249 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.114e-05/0.006, allocations: 180.3 kB / 0.6251 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-05/0.006052, allocations: 104.9 kB / 0.6252 GB, free: 13.61 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.799e-05/0.00609, allocations: 75.28 kB / 0.6252 GB, free: 13.54 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.00609, allocations: 0 / 0.6252 GB, free: 13.54 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002353/0.006325, allocations: 0 / 0.6252 GB, free: 13.54 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.0001616/0.006487, allocations: 178.6 kB / 0.6254 GB, free: 13.35 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 4.253e-05/0.006529, allocations: 4 kB / 0.6254 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.006531, allocations: 3.938 kB / 0.6254 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.006532, allocations: 0 / 0.6254 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.00694, allocations: 459.6 kB / 0.6258 GB, free: 12.89 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002462/0.007186, allocations: 160.1 kB / 0.626 GB, free: 12.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.316e-05/0.007249, allocations: 51.36 kB / 0.626 GB, free: 12.63 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.314e-06/0.007252, allocations: 0 / 0.626 GB, free: 12.63 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.343e-05/0.007265, allocations: 8.5 kB / 0.6261 GB, free: 12.62 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.007266, allocations: 0 / 0.6261 GB, free: 12.62 MB / 0.545 GB Notification: Performance of Templates: time 0.002129/0.009395, allocations: 160.8 kB / 0.6262 GB, free: 12.47 MB / 0.545 GB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.636447189375758] Failed to read output from testmodel.py, exit status != 0: 0.017872415482997894 0.033772415 0.028548307000000002 Calling exit ...