Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.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.006598/0.006598, allocations: 80.55 kB / 19.96 MB, free: 4.602 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.006026/0.006026, allocations: 177.2 kB / 23.24 MB, free: 1.324 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.663/1.663, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.32/3.32, allocations: 389.5 MB / 0.6343 GB, free: 12.61 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.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.078e-06/4.078e-06, allocations: 0 / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.915e-05/5.323e-05, allocations: 9.375 kB / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002738/0.002792, allocations: 0.762 MB / 1.002 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002009/0.004801, allocations: 1.174 MB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.095e-05/0.004862, allocations: 4 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.892e-05/0.004901, allocations: 3.938 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.024e-05/0.004991, allocations: 19.78 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005447/0.005536, allocations: 138.6 kB / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.005771, allocations: 127.8 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.00588, allocations: 11.97 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.006027, allocations: 67.89 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.006141, allocations: 55.8 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.006172, allocations: 8 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.581e-05/0.006248, allocations: 27.98 kB / 1.004 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.641e-05/0.006275, allocations: 4 kB / 1.004 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 8.067e-05/0.006355, allocations: 43.89 kB / 1.004 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.006596, allocations: 143.6 kB / 1.004 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.0066, allocations: 0 / 1.004 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.002e-06/0.006601, allocations: 0 / 1.004 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.006605, allocations: 0 / 1.004 GB, free: 10.37 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.0007366/0.007342, allocations: 355.8 kB / 1.004 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.007383, allocations: 9.344 kB / 1.004 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.608e-05/0.007439, allocations: 12.89 kB / 1.004 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.007556, allocations: 113.7 kB / 1.004 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.007577, allocations: 8.359 kB / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.007601, allocations: 8.375 kB / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.007894, allocations: 82.19 kB / 1.004 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.007904, allocations: 192 / 1.004 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.007915, allocations: 384 / 1.004 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.007919, allocations: 384 / 1.004 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003128/0.008232, allocations: 83.8 kB / 1.004 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/0.0087, allocations: 248.5 kB / 1.005 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.008907, allocations: 50.53 kB / 1.005 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.009074, allocations: 44.92 kB / 1.005 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.009101, allocations: 3.938 kB / 1.005 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002763/0.009377, allocations: 99.28 kB / 1.005 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.009378, allocations: 0 / 1.005 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0006505/0.01003, allocations: 165.5 kB / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.01008, allocations: 51.48 kB / 1.005 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.01021, allocations: 129.6 kB / 1.005 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.01024, allocations: 29.64 kB / 1.005 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.271e-05/0.01032, allocations: 100.1 kB / 1.005 GB, free: 8.645 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.01035, allocations: 19.84 kB / 1.005 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.902e-05/0.01043, allocations: 33.7 kB / 1.005 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.0106, allocations: 322.8 kB / 1.006 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/0.01085, allocations: 85.66 kB / 1.006 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.0111, allocations: 112.5 kB / 1.006 GB, free: 8.047 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003988/0.0115, allocations: 148.1 kB / 1.006 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.01151, allocations: 4.094 kB / 1.006 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005869/0.01209, allocations: 252.8 kB / 1.006 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.01214, allocations: 33.7 kB / 1.006 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.01215, allocations: 3.984 kB / 1.006 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.01216, allocations: 0 / 1.006 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.0123, allocations: 15.98 kB / 1.006 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.0123, allocations: 0 / 1.006 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.01255, allocations: 47.97 kB / 1.006 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.01257, allocations: 7.984 kB / 1.006 GB, free: 7.504 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0001186/0.01269, allocations: 117.8 kB / 1.006 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.01271, allocations: 7.891 kB / 1.006 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.074e-05/0.01274, allocations: 12.44 kB / 1.006 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.01274, allocations: 0 / 1.006 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.01274, allocations: 0 / 1.006 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.01275, allocations: 0 / 1.006 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.0129, allocations: 133.2 kB / 1.007 GB, free: 7.199 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.0129, allocations: 3.938 kB / 1.007 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.01309, allocations: 15.98 kB / 1.007 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.284e-05/0.0131, allocations: 3.984 kB / 1.007 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.01311, allocations: 3.938 kB / 1.007 GB, free: 7.172 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.01311, allocations: 7.984 kB / 1.007 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.01312, allocations: 0 / 1.007 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004312/0.01355, allocations: 149 kB / 1.007 GB, free: 7 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.129e-05/0.01357, allocations: 15.95 kB / 1.007 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.01359, allocations: 3.938 kB / 1.007 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.454e-05/0.01367, allocations: 11.98 kB / 1.007 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.01372, allocations: 3.984 kB / 1.007 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.01373, allocations: 8 kB / 1.007 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.379e-05/0.01381, allocations: 91.27 kB / 1.007 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01381, allocations: 0 / 1.007 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002188/0.01403, allocations: 23.94 kB / 1.007 GB, free: 6.844 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002088/0.01423, allocations: 115.3 kB / 1.007 GB, free: 6.719 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005507/0.01478, allocations: 201 kB / 1.007 GB, free: 6.504 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.01479, allocations: 0 / 1.007 GB, free: 6.504 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.01498, allocations: 47.89 kB / 1.007 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.0152, allocations: 16.12 kB / 1.007 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.01562, allocations: 152.8 kB / 1.007 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.566e-05/0.01569, allocations: 79.27 kB / 1.007 GB, free: 6.168 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.467e-05/0.01573, allocations: 0 / 1.007 GB, free: 6.168 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.915e-05/0.01577, allocations: 24.48 kB / 1.007 GB, free: 6.145 MB / 0.9636 GB Notification: Performance of SimCode: time 4.3e-07/0.01577, allocations: 0 / 1.007 GB, free: 6.145 MB / 0.9636 GB Notification: Performance of Templates: time 0.005386/0.02115, allocations: 1.699 MB / 1.009 GB, free: 4.492 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.20562806725502]