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.002297/0.002297, allocations: 80.52 kB / 19.96 MB, free: 4.598 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.002648/0.002648, allocations: 177.2 kB / 23.24 MB, free: 1.32 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.671/1.671, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 178] 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 3.188/3.188, allocations: 389.5 MB / 0.6343 GB, free: 12.6 MB / 0.6042 GB " [Timeout remaining time 176] 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.983e-06/1.983e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.547e-05/3.745e-05, allocations: 9.734 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001993/0.00203, allocations: 0.6772 MB / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002038/0.004068, allocations: 1.295 MB / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.359e-05/0.004142, allocations: 0 / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.003e-05/0.004182, allocations: 7.922 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.959e-05/0.004272, allocations: 23.8 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008867/0.005158, allocations: 306.8 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0005381/0.005696, allocations: 259.5 kB / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.005815, allocations: 20.16 kB / 1.004 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002158/0.006031, allocations: 135.9 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.006228, allocations: 75.81 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.678e-05/0.006284, allocations: 24 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.006384, allocations: 31.98 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.376e-05/0.006418, allocations: 19.91 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.006542, allocations: 71.94 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000413/0.006955, allocations: 267.3 kB / 1.004 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.006959, allocations: 0 / 1.004 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.753e-06/0.00696, allocations: 0 / 1.004 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.006968, allocations: 3.984 kB / 1.004 GB, free: 9.809 MB / 0.9636 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.0007574/0.007726, allocations: 423 kB / 1.005 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.408e-05/0.00779, allocations: 17.28 kB / 1.005 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.007903, allocations: 16.89 kB / 1.005 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.008084, allocations: 113.8 kB / 1.005 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.422e-05/0.008128, allocations: 8.375 kB / 1.005 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.061e-05/0.008199, allocations: 16.36 kB / 1.005 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.008408, allocations: 62.22 kB / 1.005 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.008422, allocations: 192 / 1.005 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.008438, allocations: 384 / 1.005 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.008448, allocations: 4.125 kB / 1.005 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.293e-05/0.008521, allocations: 27.97 kB / 1.005 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005819/0.009103, allocations: 324.2 kB / 1.005 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.426e-05/0.009177, allocations: 26.58 kB / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.535e-05/0.009222, allocations: 20.94 kB / 1.005 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.009233, allocations: 0 / 1.005 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001945/0.009428, allocations: 107.2 kB / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=10): time 1.051e-06/0.009429, allocations: 0 / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10): time 0.0003507/0.00978, allocations: 141.5 kB / 1.005 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.009837, allocations: 55.41 kB / 1.006 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.009985, allocations: 133.8 kB / 1.006 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.633e-05/0.01003, allocations: 33.7 kB / 1.006 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.303e-05/0.01012, allocations: 100.1 kB / 1.006 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.01015, allocations: 23.95 kB / 1.006 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.01029, allocations: 65.67 kB / 1.006 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.01047, allocations: 322.8 kB / 1.006 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002761/0.01075, allocations: 181 kB / 1.006 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00032/0.01107, allocations: 223 kB / 1.007 GB, free: 7.172 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/0.01139, allocations: 241.3 kB / 1.007 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01139, allocations: 0 / 1.007 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000726/0.01212, allocations: 471.5 kB / 1.007 GB, free: 6.395 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.01222, allocations: 105.1 kB / 1.007 GB, free: 6.273 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.01222, allocations: 0 / 1.007 GB, free: 6.273 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.01224, allocations: 7.938 kB / 1.007 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.559e-05/0.01227, allocations: 0 / 1.007 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.01227, allocations: 4.188 kB / 1.007 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000467/0.01274, allocations: 83.84 kB / 1.007 GB, free: 6.18 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.108e-05/0.01279, allocations: 15.98 kB / 1.007 GB, free: 6.164 MB / 0.9636 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.0001425/0.01293, allocations: 137.7 kB / 1.008 GB, free: 6.02 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.01296, allocations: 15.84 kB / 1.008 GB, free: 6.004 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.151e-05/0.01299, allocations: 16.44 kB / 1.008 GB, free: 5.988 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.01299, allocations: 0 / 1.008 GB, free: 5.988 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.013, allocations: 0 / 1.008 GB, free: 5.988 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.013, allocations: 0 / 1.008 GB, free: 5.988 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.01315, allocations: 133.2 kB / 1.008 GB, free: 5.828 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.01315, allocations: 0 / 1.008 GB, free: 5.828 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.16e-05/0.01316, allocations: 4 kB / 1.008 GB, free: 5.824 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.01317, allocations: 3.938 kB / 1.008 GB, free: 5.82 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.01318, allocations: 11.98 kB / 1.008 GB, free: 5.809 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.01318, allocations: 0 / 1.008 GB, free: 5.809 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01318, allocations: 0 / 1.008 GB, free: 5.809 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.0134, allocations: 145.3 kB / 1.008 GB, free: 5.648 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.326e-05/0.01341, allocations: 7.953 kB / 1.008 GB, free: 5.641 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.01343, allocations: 7.922 kB / 1.008 GB, free: 5.633 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.506e-05/0.01346, allocations: 4 kB / 1.008 GB, free: 5.629 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.0135, allocations: 7.984 kB / 1.008 GB, free: 5.621 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.01351, allocations: 4 kB / 1.008 GB, free: 5.617 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.801e-05/0.01359, allocations: 102.2 kB / 1.008 GB, free: 5.52 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01359, allocations: 0 / 1.008 GB, free: 5.52 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000263/0.01385, allocations: 44 kB / 1.008 GB, free: 5.477 MB / 0.9636 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.0002072/0.01406, allocations: 107.2 kB / 1.008 GB, free: 5.359 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000597/0.01466, allocations: 415.2 kB / 1.009 GB, free: 4.898 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01466, allocations: 0 / 1.009 GB, free: 4.898 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.38e-05/0.01473, allocations: 35.92 kB / 1.009 GB, free: 4.863 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.015, allocations: 22.64 kB / 1.009 GB, free: 4.844 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004428/0.01544, allocations: 182.1 kB / 1.009 GB, free: 4.637 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.98e-05/0.01553, allocations: 79.89 kB / 1.009 GB, free: 4.535 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.54e-05/0.01556, allocations: 12.48 kB / 1.009 GB, free: 4.523 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.034e-05/0.01561, allocations: 20.44 kB / 1.009 GB, free: 4.504 MB / 0.9636 GB Notification: Performance of SimCode: time 6.92e-07/0.01561, allocations: 0 / 1.009 GB, free: 4.504 MB / 0.9636 GB Notification: Performance of Templates: time 0.007318/0.02292, allocations: 2.915 MB / 1.012 GB, free: 1.668 MB / 0.9636 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: 9.011728366836905]