Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 101.9 kB / 16.29 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 183.7 kB / 17.22 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.049/2.049, allocations: 292.3 MB / 0.5495 GB, free: 17.31 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 70.72 kB / 0.6722 GB, free: 6.523 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2813, allocations: 114.5 MB / 0.7841 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.002267/0.2836, allocations: 0.7023 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001982/0.2856, allocations: 1.265 MB / 0.786 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.798e-05/0.2857, allocations: 0 / 0.786 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.753e-05/0.2858, allocations: 7.875 kB / 0.786 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.2859, allocations: 19.84 kB / 0.786 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.2869, allocations: 312.7 kB / 0.7863 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003784/0.2873, allocations: 267.6 kB / 0.7866 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.2875, allocations: 16.19 kB / 0.7866 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.2876, allocations: 107.8 kB / 0.7867 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.2879, allocations: 91.73 kB / 0.7868 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.64e-05/0.2879, allocations: 24 kB / 0.7868 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.288, allocations: 35.94 kB / 0.7869 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.098e-05/0.2881, allocations: 15.97 kB / 0.7869 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.2882, allocations: 87.75 kB / 0.787 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003125/0.2885, allocations: 223.7 kB / 0.7872 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.2886, allocations: 0 / 0.7872 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.344e-06/0.2886, allocations: 0 / 0.7872 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.2886, allocations: 0 / 0.7872 GB, free: 0.6875 MB / 0.6544 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.0007065/0.2893, allocations: 496.3 kB / 0.7876 GB, free: 140 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.2894, allocations: 8.031 kB / 0.7876 GB, free: 132 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.597e-05/0.2894, allocations: 20.83 kB / 0.7877 GB, free: 112 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4253/0.7147, allocations: 169.2 kB / 0.7878 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.983e-05/0.7148, allocations: 8.188 kB / 0.7878 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-05/0.7149, allocations: 13.78 kB / 0.7879 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.7151, allocations: 59.33 kB / 0.7879 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.7151, allocations: 0 / 0.7879 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.7151, allocations: 3.281 kB / 0.7879 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.7151, allocations: 3.344 kB / 0.7879 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.515e-05/0.7152, allocations: 24.31 kB / 0.7879 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005326/0.7157, allocations: 417.7 kB / 0.7883 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.798e-05/0.7158, allocations: 36.08 kB / 0.7884 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.554e-05/0.7159, allocations: 17.59 kB / 0.7884 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.7159, allocations: 3.938 kB / 0.7884 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002201/0.7161, allocations: 108.6 kB / 0.7885 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.7161, allocations: 0.7812 kB / 0.7885 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0002956/0.7164, allocations: 133.8 kB / 0.7886 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.7164, allocations: 54.09 kB / 0.7887 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.491e-05/0.7165, allocations: 136.4 kB / 0.7888 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.7166, allocations: 32.86 kB / 0.7888 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.393e-05/0.7166, allocations: 100.5 kB / 0.7889 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.7167, allocations: 22.05 kB / 0.789 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.7168, allocations: 69.23 kB / 0.789 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.097e-05/0.7168, allocations: 318.5 kB / 0.7893 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.717, allocations: 92.62 kB / 0.7894 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.7172, allocations: 141.6 kB / 0.7895 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.7174, allocations: 234.2 kB / 0.7898 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7174, allocations: 2.5 kB / 0.7898 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005024/0.718, allocations: 386.9 kB / 0.7901 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.333e-05/0.718, allocations: 99 kB / 0.7902 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.718, allocations: 2.594 kB / 0.7902 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.7181, allocations: 5.047 kB / 0.7902 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.487e-05/0.7181, allocations: 2.312 kB / 0.7902 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.7181, allocations: 5.688 kB / 0.7902 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004247/0.7185, allocations: 79.33 kB / 0.7903 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.051e-05/0.7186, allocations: 20.31 kB / 0.7903 GB, free: 47.36 MB / 0.6544 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.244e-05/0.7187, allocations: 129.8 kB / 0.7905 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.7187, allocations: 14.28 kB / 0.7905 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.7188, allocations: 13.44 kB / 0.7905 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.7188, allocations: 2.625 kB / 0.7905 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.7188, allocations: 0 / 0.7905 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.7188, allocations: 0 / 0.7905 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.7189, allocations: 187.1 kB / 0.7907 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7189, allocations: 3.188 kB / 0.7907 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.129e-05/0.7189, allocations: 8.328 kB / 0.7907 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.7189, allocations: 5.188 kB / 0.7907 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.7189, allocations: 5.906 kB / 0.7907 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.719, allocations: 0 / 0.7907 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.719, allocations: 2.562 kB / 0.7907 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.7191, allocations: 144.2 kB / 0.7908 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.407e-05/0.7192, allocations: 85.05 kB / 0.7909 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.7192, allocations: 0 / 0.7909 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.34e-05/0.7192, allocations: 0 / 0.7909 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.7193, allocations: 14.53 kB / 0.7909 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.7193, allocations: 6.562 kB / 0.7909 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.294e-05/0.7193, allocations: 103.4 kB / 0.791 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7193, allocations: 0.7812 kB / 0.791 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002576/0.7196, allocations: 47.34 kB / 0.7911 GB, free: 46.79 MB / 0.6544 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.0001527/0.7197, allocations: 108.1 kB / 0.7912 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003978/0.7202, allocations: 366.7 kB / 0.7915 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7202, allocations: 0.6562 kB / 0.7915 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.969e-05/0.7202, allocations: 39.95 kB / 0.7916 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.7205, allocations: 29.17 kB / 0.7916 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.7209, allocations: 187.5 kB / 0.7918 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/0.721, allocations: 0.6957 MB / 0.7925 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.272e-05/0.7211, allocations: 10.8 kB / 0.7925 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.102e-05/0.7211, allocations: 16.09 kB / 0.7925 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of SimCode: time 3.2e-07/0.7211, allocations: 0 / 0.7925 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.005105/0.7262, allocations: 2.628 MB / 0.7951 GB, free: 45.57 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)