Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001095/0.001095, allocations: 80.88 kB / 20.82 MB, free: 3.629 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.00102/0.00102, allocations: 165 kB / 24.25 MB, free: 208 kB / 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 0.9421/0.9421, allocations: 177.1 MB / 204.7 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.943/1.943, allocations: 389.6 MB / 0.6355 GB, free: 12.26 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.7754 GB, free: 5.27 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.448e-05, allocations: 4.375 kB / 0.7754 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001394/0.001418, allocations: 0.7425 MB / 0.7761 GB, free: 4.547 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.00264, allocations: 1.314 MB / 0.7774 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.582e-05/0.002686, allocations: 3.938 kB / 0.7774 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.388e-05/0.00272, allocations: 3.938 kB / 0.7774 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.597e-05/0.002806, allocations: 26.94 kB / 0.7774 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007458/0.003552, allocations: 290.9 kB / 0.7777 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.003769, allocations: 262.5 kB / 0.7779 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.389e-05/0.003853, allocations: 18.89 kB / 0.778 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.003982, allocations: 143.8 kB / 0.7781 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.004103, allocations: 67.88 kB / 0.7782 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.167e-05/0.004134, allocations: 24 kB / 0.7782 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.825e-05/0.004212, allocations: 35.98 kB / 0.7782 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.13e-05/0.004234, allocations: 23.91 kB / 0.7782 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.102e-05/0.004295, allocations: 75.88 kB / 0.7783 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.004472, allocations: 187.6 kB / 0.7785 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.004473, allocations: 5.875 kB / 0.7785 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.074e-06/0.004475, allocations: 4 kB / 0.7785 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.004479, allocations: 0 / 0.7785 GB, free: 2.094 MB / 0.7292 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.0003574/0.004836, allocations: 381.7 kB / 0.7789 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.004871, allocations: 9.344 kB / 0.7789 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.004912, allocations: 25.84 kB / 0.7789 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.763e-05/0.00499, allocations: 121.7 kB / 0.779 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.005008, allocations: 5.25 kB / 0.779 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.005034, allocations: 24.3 kB / 0.779 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.042e-05/0.005114, allocations: 58.94 kB / 0.7791 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-06/0.005121, allocations: 0.7812 kB / 0.7791 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.005127, allocations: 0.9062 kB / 0.7791 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.005133, allocations: 4.125 kB / 0.7791 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.85e-05/0.005151, allocations: 16.91 kB / 0.7791 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002767/0.005428, allocations: 208.2 kB / 0.7793 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.079e-05/0.005469, allocations: 27.11 kB / 0.7794 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.607e-05/0.005485, allocations: 13.81 kB / 0.7794 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.014e-06/0.005492, allocations: 3.984 kB / 0.7794 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.984e-05/0.005592, allocations: 96.78 kB / 0.7795 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 2.275e-06/0.005594, allocations: 0 / 0.7795 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.000149/0.005743, allocations: 85.59 kB / 0.7795 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.005779, allocations: 63.33 kB / 0.7796 GB, free: 0.8477 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.03e-05/0.005849, allocations: 146 kB / 0.7797 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.005873, allocations: 33.7 kB / 0.7798 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.229e-05/0.005915, allocations: 100.8 kB / 0.7799 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.434e-05/0.00593, allocations: 21.59 kB / 0.7799 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.93e-05/0.005999, allocations: 61.64 kB / 0.78 GB, free: 480 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.446e-05/0.006073, allocations: 318.8 kB / 0.7803 GB, free: 152 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.006192, allocations: 145.1 kB / 0.7804 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.006315, allocations: 201.9 kB / 0.7806 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.006459, allocations: 213 kB / 0.7808 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.006462, allocations: 0.75 kB / 0.7808 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002742/0.006736, allocations: 380.2 kB / 0.7812 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.623e-05/0.006792, allocations: 113 kB / 0.7813 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.006797, allocations: 0.6562 kB / 0.7813 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.006806, allocations: 4 kB / 0.7813 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.077e-05/0.006827, allocations: 8.594 kB / 0.7813 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/0.00683, allocations: 0 / 0.7813 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.007021, allocations: 65.58 kB / 0.7813 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.007049, allocations: 20.67 kB / 0.7814 GB, free: 14.88 MB / 0.7448 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 7.45e-05/0.007123, allocations: 123.6 kB / 0.7815 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/0.007136, allocations: 7.984 kB / 0.7815 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.207e-05/0.007158, allocations: 16.91 kB / 0.7815 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.00716, allocations: 1.125 kB / 0.7815 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.007162, allocations: 3.938 kB / 0.7815 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.007166, allocations: 4 kB / 0.7815 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.369e-05/0.007239, allocations: 82.69 kB / 0.7816 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.007241, allocations: 0 / 0.7816 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.849e-06/0.00725, allocations: 7.984 kB / 0.7816 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.007252, allocations: 0.9375 kB / 0.7816 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.728e-06/0.007257, allocations: 0 / 0.7816 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.007257, allocations: 1.094 kB / 0.7816 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.007259, allocations: 3.938 kB / 0.7816 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.671e-05/0.007346, allocations: 97.02 kB / 0.7817 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-06/0.007355, allocations: 8.797 kB / 0.7817 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.007367, allocations: 8 kB / 0.7817 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.297e-05/0.00738, allocations: 5.078 kB / 0.7817 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-05/0.007407, allocations: 11.92 kB / 0.7817 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/0.007411, allocations: 4 kB / 0.7817 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.931e-05/0.007431, allocations: 21.88 kB / 0.7817 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.1e-08/0.007431, allocations: 0 / 0.7817 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001439/0.007575, allocations: 47.89 kB / 0.7818 GB, free: 14.39 MB / 0.7448 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.0001209/0.007696, allocations: 92.8 kB / 0.7819 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002645/0.00796, allocations: 385.1 kB / 0.7822 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.007963, allocations: 0 / 0.7822 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.048e-05/0.007994, allocations: 28.78 kB / 0.7823 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.008141, allocations: 27.16 kB / 0.7823 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002722/0.008413, allocations: 181.1 kB / 0.7825 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.128e-05/0.008444, allocations: 64.16 kB / 0.7825 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.79e-05/0.008472, allocations: 12.48 kB / 0.7825 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.008595, allocations: 84.12 kB / 0.7826 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of SimCode: time 9.42e-07/0.008596, allocations: 0 / 0.7826 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of Templates: time 0.004647/0.01324, allocations: 3.17 MB / 0.7857 GB, free: 10.43 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.041542770341039]