Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001192/0.001192, allocations: 81.17 kB / 19.87 MB, free: 4.617 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.001213/0.001213, allocations: 173 kB / 23.28 MB, free: 1.219 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.021/1.021, allocations: 177.1 MB / 203.7 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7616/0.7616, allocations: 154.9 MB / 415.1 MB, free: 272 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 0.5211 GB, free: 1.562 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.841e-05/3.096e-05, allocations: 6.031 kB / 0.5211 GB, free: 1.559 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001626/0.001657, allocations: 0.6915 MB / 0.5218 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.003101, allocations: 1.307 MB / 0.5231 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.59e-05/0.003156, allocations: 1.281 kB / 0.5231 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.304e-05/0.00319, allocations: 3.938 kB / 0.5231 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.003307, allocations: 27.78 kB / 0.5231 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005752/0.003882, allocations: 301.9 kB / 0.5234 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.004119, allocations: 260.1 kB / 0.5236 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.00425, allocations: 9.906 kB / 0.5237 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.004424, allocations: 147.8 kB / 0.5238 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.004552, allocations: 71.86 kB / 0.5239 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.677e-05/0.004589, allocations: 20 kB / 0.5239 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.643e-05/0.004665, allocations: 39.98 kB / 0.5239 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.948e-05/0.004695, allocations: 17.73 kB / 0.5239 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.645e-05/0.004761, allocations: 71.88 kB / 0.524 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.004963, allocations: 195.5 kB / 0.5242 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.004966, allocations: 4 kB / 0.5242 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.362e-06/0.004968, allocations: 0 / 0.5242 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.004972, allocations: 1.688 kB / 0.5242 GB, free: 14.43 MB / 0.4948 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.0004697/0.005442, allocations: 0.5053 MB / 0.5247 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.005482, allocations: 8.031 kB / 0.5247 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.167e-05/0.005534, allocations: 16.89 kB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.515e-05/0.005629, allocations: 135.2 kB / 0.5248 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.005652, allocations: 4.375 kB / 0.5249 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.005675, allocations: 17.78 kB / 0.5249 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.864e-05/0.005763, allocations: 58.94 kB / 0.5249 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.005771, allocations: 192 / 0.5249 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.005779, allocations: 4.359 kB / 0.5249 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.005786, allocations: 9.469 kB / 0.5249 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.614e-05/0.005802, allocations: 4 kB / 0.5249 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.006159, allocations: 360.2 kB / 0.5253 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.838e-05/0.006207, allocations: 32.44 kB / 0.5253 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.689e-05/0.006224, allocations: 15.77 kB / 0.5253 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-06/0.006232, allocations: 3.984 kB / 0.5253 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001205/0.006353, allocations: 107.5 kB / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 2.024e-06/0.006355, allocations: 0 / 0.5254 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.000203/0.006558, allocations: 117.5 kB / 0.5256 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.00659, allocations: 55.41 kB / 0.5256 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.787e-05/0.006688, allocations: 193.8 kB / 0.5258 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.006714, allocations: 33.7 kB / 0.5258 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.031e-05/0.006774, allocations: 150.8 kB / 0.526 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.006788, allocations: 20.45 kB / 0.526 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.783e-05/0.006866, allocations: 76.27 kB / 0.5261 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.006984, allocations: 0.4923 MB / 0.5265 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.007098, allocations: 153 kB / 0.5267 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.007231, allocations: 224.3 kB / 0.5269 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.007382, allocations: 223.8 kB / 0.5271 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.007387, allocations: 11.25 kB / 0.5271 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003508/0.007737, allocations: 435.5 kB / 0.5275 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.728e-05/0.007795, allocations: 101 kB / 0.5276 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.007801, allocations: 0 / 0.5276 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.007816, allocations: 4 kB / 0.5276 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.002e-05/0.007836, allocations: 6.875 kB / 0.5276 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.007841, allocations: 3.984 kB / 0.5276 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.008049, allocations: 63.84 kB / 0.5277 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.008072, allocations: 15.98 kB / 0.5277 GB, free: 10.45 MB / 0.4948 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 9.286e-05/0.008165, allocations: 182 kB / 0.5279 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.00818, allocations: 15.89 kB / 0.5279 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.729e-05/0.008207, allocations: 8.438 kB / 0.5279 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.008209, allocations: 0.5 kB / 0.5279 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.00821, allocations: 2.219 kB / 0.5279 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.008215, allocations: 4 kB / 0.5279 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.013e-05/0.008305, allocations: 125.2 kB / 0.528 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.008308, allocations: 0 / 0.528 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.172e-06/0.008314, allocations: 0 / 0.528 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.008316, allocations: 0 / 0.528 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.008322, allocations: 4 kB / 0.528 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.008324, allocations: 6.375 kB / 0.5281 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.008325, allocations: 0 / 0.5281 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.008453, allocations: 140.3 kB / 0.5282 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.626e-06/0.008462, allocations: 3.953 kB / 0.5282 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-06/0.008472, allocations: 7.984 kB / 0.5282 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.318e-05/0.008485, allocations: 3.938 kB / 0.5282 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.008517, allocations: 17.95 kB / 0.5282 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.008522, allocations: 4 kB / 0.5282 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.435e-05/0.008566, allocations: 137.7 kB / 0.5284 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.008567, allocations: 0 / 0.5284 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00016/0.008727, allocations: 44 kB / 0.5284 GB, free: 9.707 MB / 0.4948 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.0001449/0.008871, allocations: 110.1 kB / 0.5285 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002845/0.009156, allocations: 388.3 kB / 0.5289 GB, free: 9.156 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.009158, allocations: 4.781 kB / 0.5289 GB, free: 9.152 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.482e-05/0.009193, allocations: 39.59 kB / 0.5289 GB, free: 9.109 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.009391, allocations: 30.55 kB / 0.5289 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000275/0.009666, allocations: 189.5 kB / 0.5291 GB, free: 8.863 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.69e-05/0.009703, allocations: 70.11 kB / 0.5292 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.581e-05/0.009729, allocations: 4.5 kB / 0.5292 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.009868, allocations: 122.2 kB / 0.5293 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of SimCode: time 9.22e-07/0.009869, allocations: 0 / 0.5293 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of Templates: time 0.004725/0.01459, allocations: 3.151 MB / 0.5324 GB, free: 5.684 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7886159969493747]