Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.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.001483/0.001483, allocations: 78.72 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.001393/0.001393, allocations: 175.4 kB / 22.46 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.392/1.392, 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.162/1.162, 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.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 0.6188 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.868e-05/3.129e-05, allocations: 4.812 kB / 0.6188 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001751/0.001782, allocations: 0.6789 MB / 0.6194 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.003639, allocations: 1.287 MB / 0.6207 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.914e-05/0.003698, allocations: 0 / 0.6207 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.348e-05/0.003732, allocations: 3.938 kB / 0.6207 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.929e-05/0.003831, allocations: 23.84 kB / 0.6207 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008533/0.004684, allocations: 303.3 kB / 0.621 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003251/0.005009, allocations: 263.5 kB / 0.6212 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.005117, allocations: 20.16 kB / 0.6213 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001984/0.005315, allocations: 135.8 kB / 0.6214 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.005485, allocations: 79.86 kB / 0.6215 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.938e-05/0.005535, allocations: 20 kB / 0.6215 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.045e-05/0.005625, allocations: 32 kB / 0.6215 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.262e-05/0.005658, allocations: 19.91 kB / 0.6215 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.005767, allocations: 79.86 kB / 0.6216 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003353/0.006102, allocations: 267.3 kB / 0.6219 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.006106, allocations: 0 / 0.6219 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.001e-06/0.006107, allocations: 0 / 0.6219 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.006114, allocations: 3.938 kB / 0.6219 GB, free: 1.383 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006683/0.006783, allocations: 419.1 kB / 0.6223 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.006826, allocations: 12.03 kB / 0.6223 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.567e-05/0.006892, allocations: 12.89 kB / 0.6223 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.007002, allocations: 125.6 kB / 0.6224 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.007029, allocations: 4.375 kB / 0.6224 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.374e-05/0.007073, allocations: 24.38 kB / 0.6224 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.007209, allocations: 54.23 kB / 0.6225 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.007218, allocations: 192 / 0.6225 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.007233, allocations: 4.375 kB / 0.6225 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.007244, allocations: 4.125 kB / 0.6225 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.349e-05/0.007298, allocations: 23.92 kB / 0.6225 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005205/0.007818, allocations: 316.3 kB / 0.6228 GB, free: 304 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.761e-05/0.007896, allocations: 26.58 kB / 0.6229 GB, free: 268 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.363e-05/0.007939, allocations: 20.94 kB / 0.6229 GB, free: 244 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.007952, allocations: 0 / 0.6229 GB, free: 244 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/0.008166, allocations: 119.2 kB / 0.623 GB, free: 112 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.008167, allocations: 0 / 0.623 GB, free: 112 kB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.000338/0.008505, allocations: 137.5 kB / 0.6231 GB, free: 15.97 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.008553, allocations: 59.41 kB / 0.6232 GB, free: 15.9 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.008672, allocations: 136.5 kB / 0.6233 GB, free: 15.76 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.185e-05/0.008714, allocations: 29.7 kB / 0.6233 GB, free: 15.72 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.298e-05/0.008797, allocations: 100.1 kB / 0.6234 GB, free: 15.62 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-05/0.00882, allocations: 23.92 kB / 0.6235 GB, free: 15.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.008944, allocations: 65.67 kB / 0.6235 GB, free: 15.53 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.009084, allocations: 322.8 kB / 0.6238 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/0.009331, allocations: 181 kB / 0.624 GB, free: 15.01 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002721/0.009603, allocations: 231 kB / 0.6242 GB, free: 14.74 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/0.00989, allocations: 227 kB / 0.6244 GB, free: 14.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.009892, allocations: 4 kB / 0.6244 GB, free: 14.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006757/0.01057, allocations: 479.5 kB / 0.6249 GB, free: 13.96 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.216e-05/0.01065, allocations: 97.09 kB / 0.625 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.01066, allocations: 384 / 0.625 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.01067, allocations: 4 kB / 0.625 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.441e-05/0.0107, allocations: 7.938 kB / 0.625 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.0107, allocations: 0 / 0.625 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004574/0.01116, allocations: 95.91 kB / 0.6251 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.981e-05/0.0112, allocations: 15.98 kB / 0.6251 GB, free: 13.73 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.01134, allocations: 135.6 kB / 0.6252 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.01135, allocations: 11.89 kB / 0.6252 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.298e-05/0.01139, allocations: 8.438 kB / 0.6253 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.01139, allocations: 3.984 kB / 0.6253 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.0114, allocations: 0 / 0.6253 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.0114, allocations: 7.984 kB / 0.6253 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.01152, allocations: 125.3 kB / 0.6254 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.01153, allocations: 0 / 0.6254 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.704e-05/0.01154, allocations: 11.98 kB / 0.6254 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.01155, allocations: 3.938 kB / 0.6254 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.01155, allocations: 0 / 0.6254 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.01156, allocations: 4 kB / 0.6254 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01156, allocations: 0 / 0.6254 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.01175, allocations: 137 kB / 0.6255 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.78e-05/0.01177, allocations: 15.84 kB / 0.6255 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.01179, allocations: 7.938 kB / 0.6256 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.177e-05/0.01181, allocations: 0 / 0.6256 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.01186, allocations: 23.92 kB / 0.6256 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.01187, allocations: 4 kB / 0.6256 GB, free: 13.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.815e-05/0.01194, allocations: 99.25 kB / 0.6257 GB, free: 13.08 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01194, allocations: 0 / 0.6257 GB, free: 13.08 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002528/0.01219, allocations: 44 kB / 0.6257 GB, free: 13.04 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001748/0.01237, allocations: 96.97 kB / 0.6258 GB, free: 12.94 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005515/0.01292, allocations: 419.1 kB / 0.6262 GB, free: 12.47 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.01292, allocations: 4.375 kB / 0.6262 GB, free: 12.47 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.15e-05/0.01298, allocations: 31.98 kB / 0.6262 GB, free: 12.44 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.01324, allocations: 28.19 kB / 0.6263 GB, free: 12.41 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003913/0.01363, allocations: 195.2 kB / 0.6265 GB, free: 12.19 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.122e-05/0.01371, allocations: 79.88 kB / 0.6265 GB, free: 12.09 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.904e-05/0.01373, allocations: 8.5 kB / 0.6265 GB, free: 12.08 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.36e-05/0.01376, allocations: 16.5 kB / 0.6266 GB, free: 12.07 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.01376, allocations: 3.938 kB / 0.6266 GB, free: 12.06 MB / 0.545 GB Notification: Performance of Templates: time 0.006378/0.02014, allocations: 2.934 MB / 0.6294 GB, free: 9.219 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.6301435604691505] Failed to read output from testmodel.py, exit status != 0: 0.028367066755890846 0.043413648000000006 0.034225424000000004 Calling exit ...