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.0009838/0.0009838, allocations: 80.94 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.001162/0.001162, allocations: 177 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 1.055/1.055, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.8167/0.8167, 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.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.425e-06/2.425e-06, allocations: 0.7656 kB / 480 MB, free: 6.922 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.577e-05, allocations: 4.812 kB / 480 MB, free: 6.918 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001515/0.001541, allocations: 0.7287 MB / 480.8 MB, free: 6.223 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.002838, allocations: 1.325 MB / 482.1 MB, free: 4.891 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.053e-05/0.002879, allocations: 0 / 482.1 MB, free: 4.891 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.684e-05/0.002906, allocations: 3.938 kB / 482.1 MB, free: 4.887 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.557e-05/0.002991, allocations: 23.5 kB / 482.1 MB, free: 4.871 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005768/0.003568, allocations: 309.4 kB / 482.4 MB, free: 4.57 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.003818, allocations: 256.4 kB / 482.7 MB, free: 4.336 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.615e-05/0.003895, allocations: 9.062 kB / 482.7 MB, free: 4.324 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.00404, allocations: 143.8 kB / 482.8 MB, free: 4.184 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.004164, allocations: 84.64 kB / 482.9 MB, free: 4.102 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.258e-05/0.004197, allocations: 24 kB / 482.9 MB, free: 4.078 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.974e-05/0.004276, allocations: 32.73 kB / 483 MB, free: 4.047 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.947e-05/0.004296, allocations: 11.94 kB / 483 MB, free: 4.035 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.172e-05/0.004358, allocations: 76.55 kB / 483.1 MB, free: 3.961 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.004542, allocations: 195.5 kB / 483.2 MB, free: 3.77 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.004544, allocations: 1.312 kB / 483.2 MB, free: 3.77 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.004545, allocations: 0 / 483.2 MB, free: 3.77 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.004549, allocations: 0 / 483.2 MB, free: 3.77 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000347/0.004896, allocations: 392.8 kB / 483.6 MB, free: 3.348 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.004927, allocations: 12.56 kB / 483.6 MB, free: 3.336 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.004966, allocations: 21.97 kB / 483.7 MB, free: 3.316 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.489e-05/0.005041, allocations: 118.5 kB / 483.8 MB, free: 3.176 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.005058, allocations: 8.375 kB / 483.8 MB, free: 3.168 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.005081, allocations: 17.44 kB / 483.8 MB, free: 3.152 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.362e-05/0.005154, allocations: 62.91 kB / 483.9 MB, free: 3.082 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-06/0.00516, allocations: 4.188 kB / 483.9 MB, free: 3.078 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.005166, allocations: 5.375 kB / 483.9 MB, free: 3.074 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.005171, allocations: 4.125 kB / 483.9 MB, free: 3.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.731e-05/0.005188, allocations: 11.5 kB / 483.9 MB, free: 3.062 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002692/0.005458, allocations: 204.2 kB / 484.1 MB, free: 2.848 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.635e-05/0.005494, allocations: 26.55 kB / 484.1 MB, free: 2.812 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.436e-05/0.005508, allocations: 8.859 kB / 484.1 MB, free: 2.801 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.512e-06/0.005515, allocations: 4.781 kB / 484.1 MB, free: 2.797 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.911e-05/0.005604, allocations: 92.81 kB / 484.2 MB, free: 2.695 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.005605, allocations: 0 / 484.2 MB, free: 2.695 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001381/0.005743, allocations: 97.52 kB / 484.3 MB, free: 2.594 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.00577, allocations: 59.41 kB / 484.4 MB, free: 2.523 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.037e-05/0.005841, allocations: 146 kB / 484.5 MB, free: 2.371 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.005863, allocations: 33.7 kB / 484.5 MB, free: 2.332 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.127e-05/0.005905, allocations: 96.89 kB / 484.6 MB, free: 2.234 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.005926, allocations: 23.84 kB / 484.7 MB, free: 2.211 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.095e-05/0.005997, allocations: 58.53 kB / 484.7 MB, free: 2.148 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.016e-05/0.006067, allocations: 318.8 kB / 485 MB, free: 1.828 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.00617, allocations: 149.1 kB / 485.2 MB, free: 1.664 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.006281, allocations: 188.1 kB / 485.4 MB, free: 1.441 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.006419, allocations: 211.5 kB / 485.6 MB, free: 1.199 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.006421, allocations: 0 / 485.6 MB, free: 1.199 MB / 442.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002658/0.006687, allocations: 369.5 kB / 485.9 MB, free: 0.7969 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.145e-05/0.006738, allocations: 105 kB / 486 MB, free: 0.6758 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.006743, allocations: 0.7188 kB / 486 MB, free: 0.6758 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.006754, allocations: 4.531 kB / 486 MB, free: 0.6719 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.768e-05/0.006772, allocations: 7.938 kB / 486 MB, free: 0.6641 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.006775, allocations: 0.625 kB / 486 MB, free: 0.6641 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.006964, allocations: 69.14 kB / 486.1 MB, free: 0.5977 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.006987, allocations: 12.52 kB / 486.1 MB, free: 0.5859 MB / 442.7 MB 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 7.671e-05/0.007064, allocations: 130.8 kB / 486.3 MB, free: 460 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.007078, allocations: 13.73 kB / 486.3 MB, free: 448 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.146e-05/0.007099, allocations: 12.38 kB / 486.3 MB, free: 436 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.007101, allocations: 0 / 486.3 MB, free: 436 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.007105, allocations: 4 kB / 486.3 MB, free: 432 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.007108, allocations: 0 / 486.3 MB, free: 432 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.335e-05/0.007181, allocations: 86.31 kB / 486.4 MB, free: 328 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.007183, allocations: 6.281 kB / 486.4 MB, free: 328 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.768e-06/0.007193, allocations: 7.984 kB / 486.4 MB, free: 320 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.007194, allocations: 0 / 486.4 MB, free: 320 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.007199, allocations: 0 / 486.4 MB, free: 320 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.007201, allocations: 0 / 486.4 MB, free: 320 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.007203, allocations: 4.016 kB / 486.4 MB, free: 316 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.749e-05/0.00729, allocations: 101 kB / 486.5 MB, free: 196 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-06/0.007297, allocations: 5.641 kB / 486.5 MB, free: 192 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.388e-06/0.007307, allocations: 4 kB / 486.5 MB, free: 188 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.456e-05/0.007321, allocations: 3.984 kB / 486.5 MB, free: 184 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/0.007349, allocations: 19.92 kB / 486.5 MB, free: 164 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.007352, allocations: 0.5312 kB / 486.5 MB, free: 164 kB / 442.7 MB Notification: Performance of sorting global known variables: time 2.084e-05/0.007373, allocations: 24.83 kB / 486.5 MB, free: 136 kB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007373, allocations: 1.375 kB / 486.5 MB, free: 136 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001564/0.007529, allocations: 47.94 kB / 486.6 MB, free: 88 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: 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.0001266/0.007656, allocations: 90.02 kB / 486.7 MB, free: 15.99 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002448/0.007901, allocations: 377.6 kB / 487 MB, free: 15.57 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.007905, allocations: 0 / 487 MB, free: 15.57 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.208e-05/0.007937, allocations: 32.78 kB / 487.1 MB, free: 15.53 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.008065, allocations: 26.16 kB / 487.1 MB, free: 15.51 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000246/0.008311, allocations: 183.8 kB / 487.3 MB, free: 15.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.142e-05/0.008342, allocations: 63.34 kB / 487.3 MB, free: 15.22 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.292e-05/0.008365, allocations: 5 kB / 487.4 MB, free: 15.22 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.008495, allocations: 96.08 kB / 487.4 MB, free: 15.12 MB / 458.7 MB Notification: Performance of SimCode: time 8.01e-07/0.008496, allocations: 0 / 487.4 MB, free: 15.12 MB / 458.7 MB Notification: Performance of Templates: time 0.004442/0.01294, allocations: 3.142 MB / 490.6 MB, free: 12.2 MB / 458.7 MB " [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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7053876016288996]