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.001585/0.001585, allocations: 97.14 kB / 16.27 MB, free: 6.418 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.001512/0.001512, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.58/1.58, allocations: 205.1 MB / 223.1 MB, free: 12.31 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 1.913/1.913, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.001416/0.001416, allocations: 71.91 kB / 0.6722 GB, free: 6.539 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2835, allocations: 114.6 MB / 0.784 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch): time 0.002211/0.2857, allocations: 0.71 MB / 0.7847 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001822/0.2876, allocations: 1.262 MB / 0.786 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.318e-05/0.2877, allocations: 0 / 0.786 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.968e-05/0.2877, allocations: 15.92 kB / 0.786 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.2878, allocations: 15.8 kB / 0.786 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000833/0.2887, allocations: 294.7 kB / 0.7863 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003129/0.289, allocations: 275.6 kB / 0.7865 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.2891, allocations: 16.17 kB / 0.7866 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.2893, allocations: 103.8 kB / 0.7867 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.2894, allocations: 75.77 kB / 0.7867 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.453e-05/0.2895, allocations: 20 kB / 0.7868 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.2896, allocations: 43.92 kB / 0.7868 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.984e-05/0.2896, allocations: 15.98 kB / 0.7868 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.2898, allocations: 83.73 kB / 0.7869 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.2901, allocations: 219.7 kB / 0.7871 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.2901, allocations: 0 / 0.7871 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2901, allocations: 0 / 0.7871 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.2901, allocations: 0 / 0.7871 GB, free: 0.7227 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.0006895/0.2908, allocations: 492.3 kB / 0.7876 GB, free: 180 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.2908, allocations: 12.03 kB / 0.7876 GB, free: 168 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.555e-05/0.2909, allocations: 16.84 kB / 0.7876 GB, free: 152 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3837/0.6747, allocations: 175.2 kB / 0.7878 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.985e-05/0.6748, allocations: 8.594 kB / 0.7878 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.472e-05/0.6749, allocations: 12.16 kB / 0.7878 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.6751, allocations: 56.31 kB / 0.7878 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.6751, allocations: 1.312 kB / 0.7878 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.6751, allocations: 4.297 kB / 0.7878 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.6751, allocations: 0 / 0.7878 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.944e-05/0.6752, allocations: 26.97 kB / 0.7879 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005468/0.6757, allocations: 419 kB / 0.7883 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.011e-05/0.6758, allocations: 28.3 kB / 0.7883 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.448e-05/0.6758, allocations: 24.66 kB / 0.7883 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.338e-06/0.6759, allocations: 9.719 kB / 0.7883 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002224/0.6761, allocations: 98.38 kB / 0.7884 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.6761, allocations: 0 / 0.7884 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0002942/0.6764, allocations: 139 kB / 0.7886 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.6764, allocations: 57.3 kB / 0.7886 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.237e-05/0.6765, allocations: 134.9 kB / 0.7887 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.6766, allocations: 32.77 kB / 0.7888 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.151e-05/0.6767, allocations: 101 kB / 0.7889 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.6767, allocations: 19.48 kB / 0.7889 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.6768, allocations: 70.62 kB / 0.7889 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.151e-05/0.6769, allocations: 322 kB / 0.7893 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.677, allocations: 86.97 kB / 0.7893 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.6772, allocations: 135.5 kB / 0.7895 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/0.6774, allocations: 245.1 kB / 0.7897 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6775, allocations: 0 / 0.7897 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004878/0.678, allocations: 382.3 kB / 0.7901 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.058e-05/0.678, allocations: 97.94 kB / 0.7902 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.678, allocations: 2.625 kB / 0.7902 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.678, allocations: 5.438 kB / 0.7902 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.551e-05/0.6781, allocations: 3.938 kB / 0.7902 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.6781, allocations: 4.781 kB / 0.7902 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004976/0.6786, allocations: 83.19 kB / 0.7903 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/0.6786, allocations: 19.58 kB / 0.7903 GB, free: 47.3 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.256e-05/0.6787, allocations: 129 kB / 0.7904 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.535e-05/0.6788, allocations: 18.53 kB / 0.7904 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.159e-05/0.6788, allocations: 11.72 kB / 0.7904 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.6788, allocations: 0 / 0.7904 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.6788, allocations: 1.5 kB / 0.7904 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.6788, allocations: 5.297 kB / 0.7904 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.6789, allocations: 190.3 kB / 0.7906 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.6789, allocations: 2.719 kB / 0.7906 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.517e-06/0.679, allocations: 2.781 kB / 0.7906 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.679, allocations: 0 / 0.7906 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.679, allocations: 7.75 kB / 0.7906 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.679, allocations: 0 / 0.7906 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.679, allocations: 2.203 kB / 0.7906 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.6791, allocations: 140.1 kB / 0.7908 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.58e-05/0.6792, allocations: 84.3 kB / 0.7908 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.6792, allocations: 7.094 kB / 0.7908 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.199e-05/0.6792, allocations: 1.688 kB / 0.7909 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.319e-05/0.6793, allocations: 7.812 kB / 0.7909 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.6793, allocations: 5.312 kB / 0.7909 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.415e-05/0.6794, allocations: 106 kB / 0.791 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6794, allocations: 0 / 0.791 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002584/0.6796, allocations: 47.38 kB / 0.791 GB, free: 46.74 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.0001515/0.6798, allocations: 113.2 kB / 0.7911 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004093/0.6802, allocations: 366.6 kB / 0.7915 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6802, allocations: 2.25 kB / 0.7915 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.422e-05/0.6803, allocations: 42.33 kB / 0.7915 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.6805, allocations: 36.86 kB / 0.7915 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003511/0.6809, allocations: 217.9 kB / 0.7918 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.681, allocations: 0.6931 MB / 0.7924 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.221e-05/0.6811, allocations: 12.69 kB / 0.7924 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.6811, allocations: 0 / 0.7924 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of Templates: time 0.003345/0.6844, allocations: 1.878 MB / 0.7943 GB, free: 45.51 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.LogicalSwitch.pipe 2>&1)